20#ifndef LD_PLANTFUNCTIONS_H_
21#define LD_PLANTFUNCTIONS_H_
23#include "ld_modelsconfig.h"
26#include "state/mbe_state.h"
28#include <input/climate/climate.h>
29#include <input/soillayers/soillayers.h>
30#include <input/setup/setup.h>
31#include <input/species/species.h>
32#include "physiology/ld_allometry.h"
34#include <containers/lbstack.h>
39class LDNDC_API LD_PlantFunctions
47 lerr_t initialize_crop( MoBiLE_Plant *, species::crop_properties_t
const *);
48 lerr_t initialize_grass( MoBiLE_Plant *, species::grass_properties_t
const *);
49 lerr_t initialize_tree( MoBiLE_Plant *, species::wood_properties_t
const *,
56 climate::input_class_climate_t
const & cl_;
57 setup::input_class_setup_t
const & se_;
58 soillayers::input_class_soillayers_t
const & sl_;
60 substate_microclimate_t & mc_;
61 substate_physiology_t & ph_;
62 substate_soilchemistry_t & sc_;
65 MoBiLE_PlantVegetation * m_veg;
68 lerr_t set_wood_defaults_( MoBiLE_Plant *, species::wood_properties_t
const *);
69 lerr_t gapfill_wood_defaults_( MoBiLE_Plant *,
70 species::wood_properties_t
const *,
76 lerr_t initialize_vegetationstructure_wood_( MoBiLE_Plant *,
81 lerr_t set_grass_defaults_( MoBiLE_Plant *, species::grass_properties_t
const *);
82 lerr_t gapfill_grass_defaults_( MoBiLE_Plant *, species::species_properties_t
const *);
83 lerr_t reset_grass_properties_( MoBiLE_Plant *);
89 lerr_t initialize_vegetationstructure_grass_( MoBiLE_Plant *);
92 lerr_t set_crop_defaults_( MoBiLE_Plant *, species::crop_properties_t
const *);
93 lerr_t reset_crop_properties_( MoBiLE_Plant *);
102 lerr_t initialize_nitrogen_concentrations( MoBiLE_Plant *);
109 lerr_t canopy_microclimate();
123 aerated_rooting_depth( input_class_soillayers_t
const * m_soillayers,
124 substate_soilchemistry_t
const * soilchem,
129 set_rooting_depth( input_class_soillayers_t
const * m_soillayers,
130 substate_soilchemistry_t
const * soilchem,
132 bool consider_texture =
false);
139 get_optimum_foliage_biomass_trees( MoBiLE_Plant * );
146 relative_crown_cover_area( MoBiLE_Plant * );
157 get_optimum_foliage_biomass_grass( MoBiLE_Plant * );
162 int _day_of_year_start,
164 int _nd_age_classes);
167 get_dvs_mortality_of_age_class(
int ,
172 get_dvs_mortality_contribution_of_age_class(
181 initialize_seasonality(
191 initialize_new_foliage_biomass(
202 initialize_new_biomass(
212 int _days_since_emergence);
215 initialize_wood_biomass(
220 initialize_foliage_dependent_fine_root_biomass(
225 update_foliage_layer_biomass_and_lai(
235 aboveground_wood_biomass_from_structure(
243 update_vertical_biomass_distribution(
254 lvector_t< double > ,
258 nitrogen_uptake_temperature_dependency(
268 optimum_nitrogen_content_foliage(
276 optimum_nitrogen_content_buds(
284 get_foliage_age_of_senescence(
289 accumulated_n_uptake();
318 double const _h_bottom,
322 double _h_cum_bottom,
327 size_t _sl_cnt_litter,
330 double _rooting_depth,
332 double const *_h_sl);
Spatially explicit groundwater model.
Definition airchemistryput.h:21
void estimate_single_layer_biomass(double const _ps, double const _h_bottom, double const _h_top, double _lw, double &_fract, double _h_cum_bottom, double _h_cum_top)
Vertical biomass estimation.
Definition ld_plantfunctions.cpp:1900
void fineroots_biomass_distribution(size_t _sl_cnt_litter, size_t _sl_cnt_soil, double _ps, double _rooting_depth, double *_f_frt_sl, double const *_h_sl)
Definition ld_plantfunctions.cpp:1981