-
Nander Wever authored
By making the DEM and land use map a class variable, openMP workers can share the same dem and landuse grid (the workers now have a reference to the grids, instead of their own copy). This avoids copying and reduces memory consumption for large dem's and/or when running with many openmp workers.