From d936b3000902b4ceb9f416051b5186ef3093d616 Mon Sep 17 00:00:00 2001 From: Anna Petrasova Date: Fri, 1 May 2026 13:55:58 -0400 Subject: [PATCH 1/2] r.sim: disable broken nblock usage --- raster/r.sim/r.sim.water/r.sim.water.html | 21 +++--------- raster/r.sim/r.sim.water/r.sim.water.md | 30 +++++----------- raster/r.sim/simlib/hydro.c | 42 +++++++++++++++++++---- raster/r.sim/simlib/output.c | 17 +++++---- raster/r.sim/simlib/simlib.h | 5 ++- 5 files changed, 60 insertions(+), 55 deletions(-) diff --git a/raster/r.sim/r.sim.water/r.sim.water.html b/raster/r.sim/r.sim.water/r.sim.water.html index 1234fa1f092..082cf8484fd 100644 --- a/raster/r.sim/r.sim.water/r.sim.water.html +++ b/raster/r.sim/r.sim.water/r.sim.water.html @@ -73,8 +73,10 @@

DESCRIPTION

Output includes a water depth raster map depth in [m], and a water discharge -raster map discharge in [m3/s]. Error of the numerical solution can be analyzed using -the error raster map (the resulting water depth is an average, and err is its RMSE). +raster map discharge in [m3/s]. The error raster map is a Monte Carlo +standard-deviation estimator across replicas of the particle simulation; the simulation +currently runs a single replica, so this map is zero everywhere and is provided for +forward compatibility with planned multiple-replica execution. The output vector points map output_walkers can be used to analyze and visualize spatial distribution of walkers at different simulation times (note that the resulting water depth is based on the density of these walkers). @@ -83,11 +85,6 @@

DESCRIPTION

-The spatial distribution of numerical error associated with path sampling solution can be -analysed using the output error raster file [m]. This error is a function of the number -of particles used in the simulation and can be reduced by increasing the number of walkers -given by parameter nwalkers. - Duration of simulation is controlled by the duration parameter. The default value is 10 minutes, reaching the steady-state may require much longer time, depending on the time step, complexity of terrain, land cover and size of the area. @@ -240,16 +237,6 @@

EXAMPLE

-

ERROR MESSAGES

- -If the module fails with - -
-ERROR: nwalk (7000001) > maxw (7000000)!
-
- -then a lower nwalkers parameter value has to be selected. -

REFERENCES