The BioCro C++ Library
MLCP Namespace Reference

Functions

template<typename leaf_module_type >
string_vector get_leaf_input_subset (string_vector reference_names)
 A helping function for the multilayer canopy photosynthesis module that returns inputs to the leaf module that are also in the vector of reference names. More...
 
template<typename canopy_module_type , typename leaf_module_type >
string_vector get_multiclass_multilayer_leaf_inputs ()
 A helping function for the multlayer canopy photosynthesis module that returns inputs to the leaf module that will change with leaf class and canopy layer. More...
 
template<typename canopy_module_type , typename leaf_module_type >
string_vector get_pure_multilayer_leaf_inputs ()
 A helping function for the multlayer canopy photosynthesis module that returns inputs to the leaf module that will change with canopy layer but not leaf class. More...
 
template<typename canopy_module_type , typename leaf_module_type >
string_vector get_other_leaf_inputs ()
 A helping function for the multlayer canopy photosynthesis module that returns inputs to the leaf module that do not change with leaf class or canopy layer. More...
 

Function Documentation

◆ get_leaf_input_subset()

string_vector get_leaf_input_subset ( string_vector  reference_names)

A helping function for the multilayer canopy photosynthesis module that returns inputs to the leaf module that are also in the vector of reference names.

Definition at line 16 of file multilayer_canopy_photosynthesis.h.

◆ get_multiclass_multilayer_leaf_inputs()

string_vector get_multiclass_multilayer_leaf_inputs ( )

A helping function for the multlayer canopy photosynthesis module that returns inputs to the leaf module that will change with leaf class and canopy layer.

Definition at line 36 of file multilayer_canopy_photosynthesis.h.

◆ get_other_leaf_inputs()

string_vector get_other_leaf_inputs ( )

A helping function for the multlayer canopy photosynthesis module that returns inputs to the leaf module that do not change with leaf class or canopy layer.

First, the names of all canopy module output quantities that do change with leaf class or canopy layer are stored in a string_vector called layered_canopy_outputs. Then, any leaf module input quantities that are not contained in layered_canopy_outputs are stored in another string_vector called leaf_inputs_constant_through_canopy, which is returned as the output of this function.

Definition at line 67 of file multilayer_canopy_photosynthesis.h.

◆ get_pure_multilayer_leaf_inputs()

string_vector get_pure_multilayer_leaf_inputs ( )

A helping function for the multlayer canopy photosynthesis module that returns inputs to the leaf module that will change with canopy layer but not leaf class.

Definition at line 48 of file multilayer_canopy_photosynthesis.h.