2.0.0b10
catchment modelling framework
|
A vector of layers, with array access to the properties of the layers, for fast data exchange. More...
A vector of layers, with array access to the properties of the layers, for fast data exchange.
Public Member Functions | |
layer_list () | |
Creates an empty layer list. | |
layer_list (const cmf::water::node_list &for_copy) | |
Creates a list of all soil layers from a node_list. | |
layer_list (const layer_list &for_copy) | |
Copy constructor. | |
layer_list & | append (SoilLayer::ptr l) |
Appends a soil layer to the list. | |
void | clear () |
Clears the list. | |
layer_list & | extend (const cmf::water::node_list &nl) |
Appends all soil layers from a node_list to this. | |
layer_list & | extend (const layer_list &ll) |
Appends all soil layers of layer_list to this. | |
cmf::math::num_array | get_gravitational_potential () const |
Returns an array containing the gravitational potential in m of all layers in the list. | |
cmf::math::num_array | get_K () const |
Returns an array containing the conductivity in m/day of all layers in the list. | |
cmf::math::num_array | get_Ksat () const |
Returns an array containing the saturated conductivity in m/day of all layers in the list. | |
cmf::math::num_array | get_lower_boundary () const |
Returns an array containing the lower boundary in m below surface of all layers in the list. | |
cmf::math::num_array | get_matrix_potential () const |
Returns an array containing the matrix potential in m of all layers in the list. | |
cmf::math::num_array | get_percolation (cmf::math::Time t) const |
Returns the flux to each layer from the upper layer, or, in case of the first layer from the surface water. | |
cmf::math::num_array | get_porosity () const |
Returns an array containing the porosity in m3/m3 of all layers in the list. | |
cmf::math::num_array | get_potential () const |
Returns an array containing the potentials of all layers in the list. | |
cmf::math::num_array | get_rootfraction () const |
Returns an array containing the rootfraction of each layer. | |
cmf::math::num_array | get_thickness () const |
Returns an array containing the thickness in m of all layers in the list. | |
cmf::math::num_array | get_upper_boundary () const |
Returns an array containing the upper boundary in m below surface of all layers in the list. | |
cmf::math::num_array | get_volume () const |
Returns an array containing the volume in m3 of stored water of all layers in the list. | |
cmf::math::num_array | get_wetness () const |
Returns an array containing the wetness in m3 H2O/m3 pore space of all layers in the list. | |
SoilLayer::ptr | operator[] (ptrdiff_t index) const |
Returns a layer from the list. | |
SoilLayer::ptr | pop () |
Deletes the last layer from the list and returns it. | |
void | set_ice_fraction (const cmf::math::num_array &Value, size_t offset=0) |
Sets the fraction of the ice content of the soil water. | |
void | set_potential (const cmf::math::num_array &Value, size_t offset=0) |
Sets the potential (head) in m of layers [offset : arraysize]. | |
void | set_rootfraction (const cmf::math::num_array &Value, size_t offset=0) |
Sets the fraction of roots in each layer. | |
void | set_theta (const cmf::math::num_array &Value, size_t offset=0) |
Sets the volumetric water content of the soil. | |
void | set_volume (const cmf::math::num_array &Value, size_t offset=0) |
Sets the Volume in m3 of layers [offset : arraysize]. | |
void | set_wetness (const cmf::math::num_array &Value, size_t offset=0) |
Sets the wetness in m3/m3 of layers [offset : arraysize]. | |
size_t | size () const |
Number of layers in the list. | |