storm-fsv-cvut / smoderp2d

SMODERP2D - Distributed event-based model for surface and subsurface runoff and erosion
https://storm-fsv-cvut.github.io/smoderp2d-manual/
GNU General Public License v3.0
7 stars 4 forks source link

removeCellsWithSameHeightNeighborhood: avoid looped point_m checks #381

Closed pesekon2 closed 2 months ago

pesekon2 commented 2 months ago

unnecessary to proceed with the code if the check is negative

unnecessary to run it in a third-level loop