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

The full cell struct for the Geomorphology model. More...

#include <Geomorphology.hh>

Public Member Functions

double waterline () const
 The height of the waterline. More...
 
template<class RNG >
 GeomorphologyCell (const DataIO::Config &cfg, const std::shared_ptr< RNG > &rng)
 Construct a cell from a configuration node and an RNG. More...
 

Public Attributes

double rock
 The cells topgraphic height. More...
 
double watercolumn
 The cells watercontent. More...
 
double drainage_area
 The drainage area. More...
 
bool was_drained
 Was called for drainage area calculation. More...
 
bool is_outflow
 Whether the cell is an outflow boundary cell. More...
 

Detailed Description

The full cell struct for the Geomorphology model.

Constructor & Destructor Documentation

◆ GeomorphologyCell()

template<class RNG >
Utopia::Models::Geomorphology::GeomorphologyCell::GeomorphologyCell ( const DataIO::Config cfg,
const std::shared_ptr< RNG > &  rng 
)
inline

Construct a cell from a configuration node and an RNG.

Initializes cell with normal_distributed(mean, var) rock height. The distribution is cut for values below 0, giving a minimal height of 0.

Member Function Documentation

◆ waterline()

double Utopia::Models::Geomorphology::GeomorphologyCell::waterline ( ) const
inline

The height of the waterline.

Member Data Documentation

◆ drainage_area

double Utopia::Models::Geomorphology::GeomorphologyCell::drainage_area

The drainage area.

◆ is_outflow

bool Utopia::Models::Geomorphology::GeomorphologyCell::is_outflow

Whether the cell is an outflow boundary cell.

◆ rock

double Utopia::Models::Geomorphology::GeomorphologyCell::rock

The cells topgraphic height.

◆ was_drained

bool Utopia::Models::Geomorphology::GeomorphologyCell::was_drained

Was called for drainage area calculation.

◆ watercolumn

double Utopia::Models::Geomorphology::GeomorphologyCell::watercolumn

The cells watercontent.


The documentation for this struct was generated from the following file: