Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | Public Attributes | List of all members
Utopia::Models::SandPile::State Struct Reference

Cell State for the SandPile model. More...

#include <SandPile.hh>

Public Member Functions

 State ()=delete
 Default constructor. More...
 
template<typename RNG >
 State (const DataIO::Config &cfg, const std::shared_ptr< RNG > &rng)
 Configuration based constructor. More...
 

Public Attributes

Slope slope
 The current value of the slope. More...
 
bool in_avalanche
 Whether the cell was touched by an avalanche; useful for updating. More...
 

Detailed Description

Cell State for the SandPile model.

Constructor & Destructor Documentation

◆ State() [1/2]

Utopia::Models::SandPile::State::State ( )
delete

Default constructor.

◆ State() [2/2]

template<typename RNG >
Utopia::Models::SandPile::State::State ( const DataIO::Config cfg,
const std::shared_ptr< RNG > &  rng 
)
inline

Configuration based constructor.

Member Data Documentation

◆ 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: