39 int iterations = 1000,
40 float epsilon = 1e-4f,
41 bool outflow_left =
true,
42 bool outflow_right =
true,
43 bool outflow_bottom =
true,
44 bool outflow_top =
true,
62 bool apply_post_filter =
false,
63 bool outflow_left =
true,
64 bool outflow_right =
true,
65 bool outflow_bottom =
true,
66 bool outflow_top =
true,
Declaration of the Array class for 2D floating-point arrays with various mathematical operations and ...
Array class, helper to manipulate 2D float array with "(i, j)" indexing.
Definition array.hpp:31
Abstract communicator interface providing MPI-style collective directives for single-source SPMD Arra...
Definition communicator_interface.hpp:60
static SingleArrayComm & instance()
Definition communicator.cpp:78
void depression_filling(Array &z, int iterations=1000, float epsilon=1e-4f, bool outflow_left=true, bool outflow_right=true, bool outflow_bottom=true, bool outflow_top=true, const UvTile ®ion=UvTile::dummy(), ICommunicator &comm=SingleArrayComm::instance())
Fill the depressions of the heightmap using the Planchon-Darboux algorithm.
Definition depression_filling.cpp:19
void depression_filling_priority_flood(Array &z, bool apply_post_filter=false, bool outflow_left=true, bool outflow_right=true, bool outflow_bottom=true, bool outflow_top=true, const UvTile ®ion=UvTile::dummy(), ICommunicator &comm=SingleArrayComm::instance())
Fill depressions in a heightmap using the Priority-Flood algorithm.
Definition depression_filling_priority_flood.cpp:23
Describes an Array tile's position within the normalized [0, 1]^2 UV domain and global index grid.
Definition uv_tile.hpp:46
static const UvTile & dummy()
Definition uv_tile.cpp:37
Normalized UV-domain tile descriptor for single-source SPMD Array algorithms and VirtualArray dispatc...