[GRASS-git] [OSGeo/grass] a27e3c: r.sim: cleanup of global variables (#5044)

Anna Petrasova noreply at github.com
Tue Feb 11 08:03:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: a27e3c1eba73a6b69f66eface240f02796a8899a
      https://github.com/OSGeo/grass/commit/a27e3c1eba73a6b69f66eface240f02796a8899a
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M raster/r.sim/r.sim.sediment/main.c
    M raster/r.sim/r.sim.water/main.c
    M raster/r.sim/simlib/erod.c
    M raster/r.sim/simlib/hydro.c
    M raster/r.sim/simlib/input.c
    M raster/r.sim/simlib/output.c
    M raster/r.sim/simlib/simlib.h
    M raster/r.sim/simlib/waterglobs.h

  Log Message:
  -----------
  r.sim: cleanup of global variables (#5044)

* group global variables into structures
* remove unused code
* limit scope of some variables
* fix small bug in parallelization code (`nwalka` variable)



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list