aerispaha / sewergraph

Network analysis for sewer systems
18 stars 4 forks source link

Move all area accumulation logic into accumulate_area() #6

Closed aerispaha closed 6 years ago

aerispaha commented 6 years ago

Currently the logic for assigning accumulated area to each sewer segment is in the hydrologic_calcs_on_sewers() function here, yet the cumulative_area gets set to each node in the accumulate_area() function.

All of the things related to accumulating area should take place in accumulate_area() here.

Also, make sure the parameter names are consistent and clear.

aerispaha commented 6 years ago

accumulate_area() is now generalized.