Cell State for the SandPile model.
More...
#include <SandPile.hh>
Cell State for the SandPile model.
◆ State() [1/2]
Utopia::Models::SandPile::State::State |
( |
| ) |
|
|
delete |
◆ State() [2/2]
Configuration based constructor.
36 :
38 {
39
42
45
46
48 throw std::invalid_argument("The `inital_slope_*_limit` "
49 "parameters need to specify a valid range, i.e. with `lower` "
50 "being strictly smaller than the `upper`!");
51 }
52
53
54
55 std::uniform_int_distribution<Slope>
57
58
60 }
Container select_entities(const Manager &mngr, const DataIO::Config &sel_cfg)
Select entities according to parameters specified in a configuration.
Definition select.hh:213
Slope slope
The current value of the slope.
Definition SandPile.hh:25
bool in_avalanche
Whether the cell was touched by an avalanche; useful for updating.
Definition SandPile.hh:28
◆ in_avalanche
bool Utopia::Models::SandPile::State::in_avalanche |
Whether the cell was touched by an avalanche; useful for updating.
◆ slope
Slope Utopia::Models::SandPile::State::slope |
The current value of the slope.
The documentation for this struct was generated from the following file: