LandscapeDNDC 1.37.0
ld_biomassdistribution.h
1
8#ifndef LD_BIOMASSDISTRIBUTION_H_
9#define LD_BIOMASSDISTRIBUTION_H_
10
11#include "ld_modelsconfig.h"
12#include "mbe_config.h.inc"
13
14namespace ldndc {
15
16
21enum
22{
23 /* no foliage layers (no vegetation) */
24 NO_FOLIAGE_LAYER = 0,
25 /* minimum number of supported foliage layers */
26 MIN_FOLIAGE_LAYER = 2,
27};
28
29
52void
54 size_t const _fl_cnt_max,
55 size_t const _fl_cnt,
56 double const _ps,
57 double const _h_bottom,
58 double const _h_top,
59 double const *_h_fl,
60 double *_fFol_fl);
61
62
93void
95 double _sla_min,
96 double _sla_max,
97 double _height_max,
98 double _height_min,
99 double _mFol,
100 double const * _fFol_fl,
101 double const * _h_fl,
102 double * _lai_fl,
103 double * _sla_fl,
104 size_t _foliage_layer_cnt,
105 size_t _foliage_layer_cnt_max);
106
107} /* namespace ldndc */
108
109#endif /* !LD_BIOMASSDISTRIBUTION_H_ */
Spatially explicit groundwater model.
Definition: airchemistryput.h:15
void canopy_lai_distribution(double _sla_min, double _sla_max, double _height_max, double _height_min, double _mFol, double const *_fFol_fl, double const *_h_fl, double *_lai_fl, double *_sla_fl, size_t _foliage_layer_cnt, size_t _foliage_layer_cnt_max)
Leaf area distribution vertically across the whole canopy.
Definition: ld_biomassdistribution.cpp:89
void canopy_biomass_distribution(size_t const _fl_cnt_max, size_t const _fl_cnt, double const _ps, double const _h_bottom, double const _h_top, double const *_h_fl, double *_fFol_fl)
Foliage biomass distribution vertically across canopy.
Definition: ld_biomassdistribution.cpp:36