LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
mbe_plant.h
1
10
11#ifndef MoBiLE_PLANT_H_
12#define MoBiLE_PLANT_H_
13
14#include "ld_legacy.h"
15
16#include <ld_plants.h>
17#include <string/cbm_string.h>
18
19namespace ldndc {
20
21typedef speciesparameters::speciesparameters_set_t MoBiLE_PlantParameters;
22class LDNDC_API MoBiLE_PlantSettings : public LD_PlantSettings< MoBiLE_PlantParameters >
23{
24public:
25 MoBiLE_PlantSettings( size_t /* canopy layers */,
26 char const * /*name*/,
27 char const * /*type*/,
28 char const * /*group*/,
29 MoBiLE_PlantParameters const * = NULL /*parameters*/);
30
31 size_t nb_ageclasses;
32 size_t nb_foliagelayers;
33 size_t nb_soillayers;
34};
35
36
37class MoBiLE_State;
38class MoBiLE_PlantVegetation;
39class LDNDC_API MoBiLE_Plant : public LD_Plant< MoBiLE_PlantSettings >
40{
41public:
42 typedef MoBiLE_PlantParameters Parameters;
43 typedef MoBiLE_PlantSettings Settings;
44public:
45 MoBiLE_Plant( MoBiLE_PlantSettings const *);
46 ~MoBiLE_Plant();
47
48 void switchparameters( Parameters _params){ m_parameters = _params; };
49
50 char const * cname() const
51 { return this->name().c_str(); }
52 char const * ctype() const
53 { return this->type().c_str(); }
54 char const * cgroup() const
55 { return this->group().c_str(); }
56 species::species_group_e groupId() const
57 { return this->parameters()->GROUP(); }
58
59 bool is_family( char const * /*family*/) const;
60
61 size_t nb_ageclasses() const;
62 size_t NB_AGECLASSES() const
63 { return this->m_plantsettings.nb_ageclasses; }
64 size_t nb_foliagelayers() const;
65 size_t NB_FOLIAGELAYERS() const
66 { return this->m_plantsettings.nb_foliagelayers; }
67 size_t nb_soillayers() const;
68 size_t NB_SOILLAYERS() const
69 { return this->m_plantsettings.nb_soillayers; }
70
71 size_t slot;
72
73 lerr_t clear();
74 lerr_t initialize();
75
76public: /*plant attributes*/
77
81
82 /* day of foliage budburst [-] */
83 int dEmerg;
84 /* yearly nitrogen fixation [g:10^3:m^-2:a^-1] */
85 double a_fix_n;
86 /* crown diameter relation to breast height diameter [%] */
87 double cdr;
88 /* average individual diameter at ground height [m] */
89 double dbas;
90 /* average individual diameter at 1.3 m height [m] */
91 double dbh;
92
93 /* distance from Ground Level to top height [m] (= h_trunk + h_crown) (i.e., height average basal area stem of each vegetation cohort) [m] */
94 double height_max; // better: h_top
95 /* distance from Ground Level to top height [m] (= h_trunk + h_crown) (i.e., height average basal area stem of each vegetation cohort) [m] */
96 double h_top;
97 /* distance from ground level to crown start [m] */
98 double height_at_canopy_start; // better: h_trunk
99 /* distance from ground level to crown start [m] */
100 double h_trunk;
101 /* distance from ground level to deepest root extension [m] */
102 double rooting_depth; // better: h_depth
103 /* distance from ground level to deepest root extension [m] */
104 double h_depth;
105 /* distance from crown start to top height [m] */
106 double h_crown;
107
108 /* sapwood volume of the stem within the crown [m3] */
109 double vsap_crown;
110 /* sapwood volume of the tap root[m3] */
111 double vsap_croot;
112 /* sapwood volume of the trunk [m3] */
113 double vsap_trunk;
114 /* sapwood volume of branches [m3] */
115 double vsap_bra;
116 /* sapwood volume of coarse roots other than the tap root [m3] */
117 double vsap_crt;
118
119 /* sapwood area in the trunk [m2] */
120 double sap_area;
121 /* factor determining sapwood growth into height or diameter [-] */
122 double hd_factor;
123
124 /* potential (supported by tree dimension and stand density) leaf area index [m2 m-2] */
125 double lai_pot;
126 /* maximum (supported by foliage and bud biomass) leaf area index [m2 m-2] */
127 double lai_max;
128
129 /* carbon increase of reproductive tissue per time step. [g:10^3:m^-2] */
130 double dcBud, d_dcBud;
131 /* carbon allocated to pool of free available substrat per time step. [g:10^3:m^-2] */
132 double dcFac, d_dcFac;
133 /* carbon increase of foliage per time step. [g:10^3:m^-2] */
134 double dcFol, d_dcFol;
135 /* carbon increase of fine roots per time step. [g:10^3:m^-2] */
136 double dcFrt, d_dcFrt;
137 /* carbon increase of sapwood per time step. [g:10^3:m^-2] */
138 double dcSap, d_dcSap;
139
140 /* oxidized nitrogen uptake per time step. [g:10^3:m^-2] */
141 double nox_uptake, d_nox_uptake;
142 /* reduced nitrogen uptake per time step. [g:10^3:m^-2] */
143 double nhy_uptake, d_nhy_uptake;
144 /* N2 uptake per time step. [g:10^3:m^-2] */
145 double n2_fixation, d_n2_fixation;
146
147 /* relative state of foliage flushing. [%] */
148 double dvsFlush, dvsFlushOld;
149 /* relative state of foliage senescence. [%] */
150 double dvsMort;
151 /* development stage of wood growth. [%] */
152 double dvsWood;
153
154 /* carbon loss from exudation [kgC m-2] */
155 double exsuLoss, d_exsuLoss;
156 /* area fraction of species relative to total ground coverage [%] */
157 double f_area;
158 /* fraction of vegetation group potential transpiration to total potential transpiration [-] */
159 double f_ptransp;
160 /* branch fraction of total (sap)wood [%] */
161 double f_branch;
162 /* reduction factor for initialization of the nitrogen and basic cation concentration relative to the maximum [%] */
163 double f_ncc;
164 /* relative state of free available carbon [-] */
165 double f_fac;
166 /* drought stress factor [%] */
167 double f_h2o, d_f_h2o;
168 /* heat stress factor [-] */
169 double f_heat;
170 /* heat stress grainfilling factor - daily minimum [-] */
171 double f_heat_daily;
172 /* heat stress grainfilling factor [-] */
173 double f_heat_gf;
174 /* vernalization factor */
175 double chill_factor;
176 /* dry weight of reproductive tissue [kgDW m-2] */
177 double mBud;
178 /* dry weight of reproduction mass at the end of the last year [kgDW m-2] */
179 double mBudStart;
180 /* dry weight of species specific core (dead) wood [kgDW m-2] */
181 double mCor;
182 /* dry weight of dead structural matter [kgDW m-2] */
183 double dw_dst;
184 /* living foliage biomass [kgDW m-2] */
185 double mFol;
186 /* dry weight of dead foliage biomass [kgDW m-2] */
187 double dw_dfol;
188 /* maximum foliage mass aimed at [kgDW m-2] */
189 double mFolMax;
190 /* minimum foliage mass aimed at [kgDW m-2] */
191 double mFolMin;
192 /* living fine root biomass [kgDW m-2] */
193 double mFrt;
194 /* sapwood biomass [kgDW m-2] */
195 double mSap;
196 /* dry weight of living structural matter [kgDW m-2] */
197 double dw_lst;
198
199 /* nitrogen concentration in reproductive tissue [kgN kgDW-1] */
200 double ncBud;
201 /* nitrogen concentration in heartwood [kgN kgDW-1] */
202 double ncCor;
203 /* nitrogen concentration in living foliage [kgN kgDW-1] */
204 double ncFol;
205 /* nitrogen concentration in fine roots [kgN kgDW-1] */
206 double ncFrt;
207 /* nitrogen concentration in sapwood [kgN kgDW-1] */
208 double ncSap;
209
210 /* nitrogen in dead foliage [kgN m-2] */
211 double n_dfol;
212 /* nitrogen in dead structural tissue [kgN m-2] */
213 double n_dst;
214 /* nitrogen in living structural tissue [kgN m-2] */
215 double n_lst;
216
217 /* nitrogen litter input from buds or reproductive tissue [kgN m-2] */
218 double nLitBud, d_nLitBud;
219 /* nitrogen litter input from foliage [kgN m-2] */
220 double nLitFol, d_nLitFol;
221 /* aboveground sapwood nitrogen from events [kgN m-2] */
222 double nLitWoodAbove, d_nLitWoodAbove;
223
224 /* nitrogen retention from senescence per day [kgN] */
225 double n_retention, d_n_retention;
226
227 /* sapwood area (at 1.3 m height) to foliage area ratio [-] */
228 double qsfa;
229 /* sapwood to foliage biomass ratio [-] */
230 double qsfm;
231
232 /* mean plant water potential [MPa] */
233 double psi_mean;
234 /* canopy water potential [MPa] */
235 double psi_cr;
236 /* soil to root plant water potential [MPa] */
237 double psi_sr;
238 /* plant water potential at air entry point (for embolism) [MPa] */
239 double psi_thresh;
240 /* predawn plant water potential [MPa] */
241 double psi_pd;
242
243 /* residual respiration from reproductive tissue [kgC m-1] */
244 double rBud, d_rBud;
245 /* residual respiration from foliage [kgC m-1] */
246 double rFol, d_rFol;
247 /* residual respiration from fine roots [kgC m-1] */
248 double rFrt, d_rFrt;
249 /* total growth respiration [kgC m-1] */
250 double rGro, d_rGro;
251 /* total growth respiration within the soil [kgC m-1] */
252 double rGroBelow, d_rGroBelow;
253 /* total residual respiration [kgC m-1] */
254 double rRes, d_rRes;
255 /* residual respiration from sapwood [kgC m-1] */
256 double rSap, d_rSap;
257 /* residual respiration from sapwood [kgC m-1] */
258 double rSapBelow, d_rSapBelow;
259 /* total transport and uptake respiration [kgC m-1] */
260 double rTra, d_rTra;
261
262 /* senescence of reproductive tissue [kgDW m-2] */
263 double sBud, d_sBud;
264 /* foliage senescence per time step [kgDW m-2] */
265 double sFol, d_sFol;
266 /* fine root senescence per time step [kgDW m-2] */
267 double sFrt, d_sFrt;
268 /* aboveground sapwood lost to the litter [kgDW m-2] */
269 double sWoodAbove, d_sWoodAbove;
270
271 /* weighted growing degree days [oC] */
272 double growing_degree_days;
273
274 /* previous day water supply modifier */
275 double fwatOld;
276
277 /* number of trees per ha [-] */
278 double tree_number;
279
280 /* root aerenchyme transport coefficient */
281 double root_tc;
282
283 /* resistance of water transport through the xylem (roots + stem) [MPa s m2 mol-1] */
284 double xylem_resistance;
285
286 /* estimated stem radius reduction (shrinkage) due to partial water loss [um tree-1] */
287 double wc_rel;
288
289 /* relative water content (RWC) of sapwood+bark (1 = fully hydrated, 0 = free available water fully depleted) */
290 double stem_shrinkage;
291 /* predawn (minimum) tree water deficit = maximum diurnal radius deviation from water saturated xylem state [um] */
292 double twd_pd_vt;
293 /* maximum (minimum) tree water deficit = minimum diurnal radius deviation from water saturated xylem state [um] */
294 double twd_max_vt;
295
296 /* foliage biomass per age class [kgDW] */
297 double * mFol_na;
298 /* foliage senescence per age class per time step [kgDW m-2] */
299 double * sFol_na, * d_sFol_na;
300
301 /* layer specific carbon uptake (photosynthesis) [kgC m-2] */
302 double * carbonuptake_fl, * d_carbonuptake_fl;
303 /* layer specific intercellular concentration of CO2 and under standard conditions [umol mol-1] */
304 double * co2i_fl, * co2i_std_fl, * d_co2i_fl;
305 /* layer specific leaf internal O2 concentration [umol m-2] */
306 double * o2i_fl, * o2i_std_fl;
307 /* layer specific CO2 compensation point at 25oC per canopy layer and under standard conditions [umol m-2] */
308 double * co2comp25_fl, * co2comp25_std_fl;
309 /* layer specific MEP [umol l-1] */
310 double * mep_fl;
311 /* layer specific DMADP [umol l-1] */
312 double * dmadp_fl;
313 /* layer specific DXP [umol l-1] */
314 double * dxp_fl;
315 /* layer specific GDP [umol l-1] */
316 double * gdp_fl;
317 /* layer specific IDP [umol l-1] */
318 double * idp_fl;
319 /* layer specific isoprene emission [umol m-2] */
320 double * isoprene_emission_fl, * d_isoprene_emission_fl;
321 /* layer specific monoterpene emission [umol m-2] */
322 double * monoterpene_emission_fl, * d_monoterpene_emission_fl;
323 /* layer specific monoterpene emission from storages [umol m-2] */
324 double * monoterpene_s_emission_fl, * d_monoterpene_s_emission_fl;
325 /* layer specific ovoc emission from storages [umol m-2] */
326 double * ovoc_emission_fl, * d_ovoc_emission_fl;
327 /* Michaelis-Menten constant for CO2 reaction of rubisco per canopy layer and under standard conditions [umol mol-1 ubar-1] */
328 double * kco2_fl, * kco2_std_fl;
329 /* Michaelis-Menten constant for O2 reaction of rubisco per canopy layer and under standard conditions [umol mol-1 ubar-1] */
330 double * ko2_fl, * ko2_std_fl;
331 /* layer specific nitrogen concentration [gN gDW-2] */
332 double* nc_fl;
333 /* leaf area index [m2 m-2] */
334 double * lai_fl;
335 /* relative amount of foliage per layer [%] */
336 double * fFol_fl;
337 /* deposited nh3 in the canopy [kg m-2] */
338 double * nh3_fl;
339 /* deposited nh4 in the canopy [kg m-2] */
340 double * nh4_fl;
341 /* deposited no3 in the canopy [kg m-2] */
342 double * no3_fl;
343 /* layer specific relative conductance [%] */
344 double * relativeconductance_fl, * d_relativeconductance_fl;
345 /* specific foliage area [m2 kgDW-1] */
346 double * sla_fl;
347 /* layer specific ATP production [umol m-2LA s-1] */
348 double * atp_fl;
349 /* layer specific ATP pool [umol kgDW-1] */
350 double * atp_pool_fl;
351 /* layer specific triose phosphate production [umol m-2LA s-1] */
352 double * tp_fl;
353 /* layer specific triose phosphate pool [umol kgDW-1] */
354 double * tp_pool_fl;
355 /* layer specific NADPH production [umol m-2 s-1] */
356 double * nadph_fl;
357 /* layer specific NADPH pool [umol kgDW-1] */
358 double * nadph_pool_fl;
359 /* layer specific activity state of isoprene synthase [nmol m-2 s-1] */
360 double * isoAct_fl;
361 /* layer specific activity state of monoterpene synthase [nmol m-2 s-1] */
362 double * monoAct_fl;
363 /* layer specific standard emission factor of isoprene (can be calculated from isoAct_fl) [ug gDW-1 h-1] */
364 double * ef_iso_fl;
365 /* layer specific standard emission factor of monoterpenes (can be calculated from monoAct_fl) [ug gDW-1 h-1] */
366 double * ef_mono_fl;
367 /* layer specific electron transport capacity at 25oC for full light adjusted leaves [umol m-2 s-1] */
368 double * jAct25_fl;
369 /* layer specific potential electron transport capacity per canopy layer under current light and temperature conditions [umol m-2 s-1] */
370 double * jPot_fl, * d_jPot_fl;
371 /* layer specific electron transport capacity at 25oC per canopy layer [umol m-2 s-1] */
372 double * jMax25_fl;
373 /* layer specific actual electron transport capacity per canopy layer and under standard conditions [umol m-2 s-1] */
374 double * jMax_fl, * jMax_std_fl, * d_jMax_fl;
375 /* layer specific dark respiration at 25oC per canopy layer [umol m-2 s-1] */
376 double * rdAct25_fl;
377 /* layer specific actual dark respiration per canopy layer [umol m-2 s-1] */
378 double * rd_fl;
379 /* layer specific activity state of rubisco at 25oC for full light adjusted leaves [umol m-2 s-1] */
380 double * vcAct25_fl;
381 /* layer specific activity state of rubisco with light and CO2 but not temperature restrictions [umol m-2 s-1] */
382 double * vcAct_fl;
383 /* layer specific activity state of rubisco at 25oC per canopy layer [umol m-2 s-1] */
384 double * vcMax25_fl;
385 /* layer specific actual activity state of rubisco per canopy layer and under standard conditions [umol m-2 s-1] */
386 double * vcMax_fl, * vcMax_std_fl;
387
388 /* fine root length per layer [m] */
389 double * rootlength_sl;
390 /* relative amount of fine roots per layer per species. [%] */
391 double * fFrt_sl;
392 /* fine root nitrogen litter input from events [kgN m-2] */
393 double * nLitFrt_sl, * d_nLitFrt_sl;
394 /* fine root senescence from events [kgDW m-2] */
395 double * sFrt_sl, * d_sFrt_sl;
396 /* belowground sapwood senescence from mortality events [kgDW m-2] */
397 double * sWoodBelow_sl, * d_sWoodBelow_sl;
398 /* belowground sapwood nitrogen from events [kgN m-2] */
399 double * nLitWoodBelow_sl, * d_nLitWoodBelow_sl;
400 /* absolut hypoxia per layer per species (not scaled by fFrt). [%] */
401 double * hypoxia_sl;
402
403 /* method for dimensional growth calculation (cone-based or taper-based) */
404 bool is_tapergrowth;
405public:
406
408 void reset();
409
411 double lai() const
412 { return cbm::sum( this->lai_fl, this->nb_foliagelayers()); };
413
421 double interception_capacity() const
422 { return this->aboveground_wood() * this->parameters()->MWWM()
423 + this->lai() * this->parameters()->MWFM(); };
424
432 double stand_volume() const
433 { return this->stem_wood() / (this->parameters()->DSAP() * cbm::DM3_IN_M3) * cbm::M2_IN_HA; };
434
435 double dead_structural_matter() const
436 { return ( this->mCor + this->dw_dst); };
437
438 double living_structural_matter() const
439 { return ( this->mSap + this->dw_lst); };
440
441 double foliage_matter() const
442 { return ( this->mFol + this->dw_dfol); };
443
445 double aboveground_biomass() const
446 { return ( this->aboveground_structural_matter() + this->mFol + this->dw_dfol + (this->parameters()->TUBER() ? 0.0 : this->mBud)); };
447
449 double aboveground_structural_matter() const
450 { return ( this->mSap + this->mCor + this->dw_lst + this->dw_dst) * ( 1.0 - this->parameters()->UGWDF()); };
451
453 double aboveground_wood() const
454 { return ( this->mSap + this->mCor) * ( 1.0 - this->parameters()->UGWDF()); };
455
457 double belowground_biomass() const
458 { return ( this->belowground_structural_matter() + this->mFrt + (this->parameters()->TUBER() ? this->mBud : 0.0)); };
459
461 double belowground_structural_matter() const
462 { return ( this->mSap + this->mCor + this->dw_lst + this->dw_dst) * this->parameters()->UGWDF(); };
463
465 double belowground_wood() const
466 { return ( this->mSap + this->mCor) * this->parameters()->UGWDF(); };
467
469 double stem_wood() const
470 { return this->aboveground_wood() * ( 1.0 - this->f_branch); };
471
473 double branch_wood() const
474 { return this->aboveground_wood() * this->f_branch; };
475
477 double total_biomass() const
478 { return this->mSap + this->dw_lst +
479 this->mCor + this->dw_dst +
480 this->mFol + this->dw_dfol +
481 this->mBud + this->mFrt; };
482
484 double n_cor() const
485 { return this->mCor * this->ncCor; }
486 double nc_cor() const
487 { return this->ncCor; }
488
490 double n_sap() const
491 { return this->mSap * this->ncSap; }
492 double nc_sap() const
493 { return this->ncSap; }
494
496 double n_frt() const
497 { return this->mFrt * this->ncFrt; }
498 double nc_frt() const
499 { return this->ncFrt; }
500
502 double n_fol() const
503 { return this->mFol * this->ncFol; }
504 double nc_fol() const
505 { return this->ncFol; }
506
508 double n_bud() const
509 { return this->mBud * this->ncBud; }
510 double nc_bud() const
511 { return this->ncBud; }
512
514 double nc_lst() const
515 { return cbm::flt_greater_zero( this->mSap + this->dw_lst) ? (this->n_sap() + this->n_lst) / (this->mSap + this->dw_lst): 0.0; }
516
518 double nc_dst() const
519 { return cbm::flt_greater_zero( this->mCor + this->dw_dst) ? (this->n_cor() + this->n_dst) / (this->mCor + this->dw_dst): 0.0; }
520
522 double aboveground_nitrogen() const
523 { return ( (this->n_sap() + this->n_lst + this->n_cor() + this->n_dst) * ( 1.0 - this->parameters()->UGWDF())
524 + this->n_fol() + this->n_dfol
525 + (this->parameters()->TUBER() ? 0.0 : this->n_bud())); };
526
528 double belowground_nitrogen() const
529 { return ( (this->n_sap() + this->n_lst + this->n_cor() + this->n_dst) * this->parameters()->UGWDF()
530 + this->n_frt() + (this->parameters()->TUBER() ? this->n_bud() : 0.0)); };
531
533 double total_nitrogen() const
534 { return this->n_sap() + this->n_lst + this->n_cor() + this->n_dst + this->n_fol() + this->n_dfol + this->n_bud() + this->n_frt(); };
535
537 double cn_ratio() const
538 { return cbm::flt_greater_zero( total_nitrogen()) ? total_biomass() * cbm::CCDM / total_nitrogen() : 0.0; };
539
540 /* Carbon of reproductive tissue [kgC m-2] */
541 double c_fru() const
542 { return this->mBud * cbm::CCDM; };
543
544 /* Carbon of dead structural matter [kgC m-2] */
545 double c_dst() const
546 { return (this->mCor + this->dw_dst) * cbm::CCDM; };
547
548 /* Carbon of living foliage biomass [kgC m-2] */
549 double c_fol() const
550 { return this->mFol * cbm::CCDM; };
551
552 /* Carbon of dead foliage biomass [kgC m-2] */
553 double c_dfol() const
554 { return this->dw_dfol * cbm::CCDM; };
555
556 /* Carbon of living fine root biomass [kgC m-2] */
557 double c_frt() const
558 { return this->mFrt * cbm::CCDM; };
559
560 /* Carbon of living structural matter [kgC m-2] */
561 double c_lst() const
562 { return (this->mSap + this->dw_lst) * cbm::CCDM; };
563
565 double f_fol_maximum() const
566 {
567 double f_fol_max( 0.0);
568 for ( size_t fl = 0; fl < this->nb_foliagelayers(); fl++)
569 {
570 if ( cbm::flt_greater( this->fFol_fl[fl], f_fol_max))
571 {
572 f_fol_max = this->fFol_fl[fl];
573 }
574 }
575 return f_fol_max;
576 };
577
578 double n_leaf_surface() const
579 {
580 double n_tot( 0.0);
581 for ( size_t fl = 0; fl < this->nb_foliagelayers(); fl++)
582 {
583 n_tot += nh4_fl[fl] + no3_fl[fl];
584 }
585 return n_tot;
586 }
587
589 double m_fol_fl( size_t _fl) const
590 { return this->mFol * this->fFol_fl[_fl]; }
591
601 double belowground_respiration()
602 { return rGroBelow + rFrt + rTra + rSapBelow + (parameters()->TUBER() ? rBud : 0.0); };
603
604 double d_belowground_respiration()
605 { return d_rGroBelow + d_rFrt + d_rTra + d_rSapBelow + (parameters()->TUBER() ? d_rBud : 0.0); };
606
607
608public:
609 /* properties */
610 ldate_t seeding_date;
611 double initial_biomass;
612 bool is_covercrop;
613
614private:
615 MoBiLE_PlantSettings m_plantsettings;
616 friend class MoBiLE_PlantVegetation;
617 MoBiLE_PlantVegetation const * m_plantvegetation;
618};
619
620class LDNDC_API MoBiLE_PlantVegetation : public LD_PlantVegetation< MoBiLE_Plant >
621{
622public:
623 MoBiLE_PlantVegetation( LD_PlantsParametersDB const * = NULL);
624 ~MoBiLE_PlantVegetation();
625
626 MoBiLE_Plant * new_plant( MoBiLE_PlantSettings const *);
627 lerr_t delete_plant( char const * /*plant name*/);
628
629 bool is_family( MoBiLE_Plant const *, char const * /*family*/) const;
630 bool is_family( char const * /*plant type*/, char const * /*family*/) const;
631
632 void set_input( speciesparameters::input_class_speciesparameters_t const * _speciesparameters)
633 { this->m_speciesparameters = _speciesparameters; }
634 MoBiLE_PlantParameters get_parameters( char const * /*plant type*/);
635
636 size_t slot_cnt();
637
638 double canopy_height();
639 size_t canopy_layers_used();
640
641 double lai();
642 double lai_fl( size_t /* foliage layer */);
643 double dw_frt();
644 double mfrt_sl( size_t /* soil layer */);
645 double rootlength_sl( size_t /* soil layer */);
646 double root_density_sl( size_t /* soil layer */, double , bool );
647 double area_cover();
648
649private:
650 speciesparameters::input_class_speciesparameters_t const * m_speciesparameters;
651};
652
653typedef MoBiLE_PlantVegetation::Iterator PlantIterator;
654typedef MoBiLE_PlantVegetation::GroupIterator< species::crop > CropIterator;
655typedef MoBiLE_PlantVegetation::GroupIterator< species::grass > GrassIterator;
656typedef MoBiLE_PlantVegetation::GroupIterator< species::wood > TreeIterator;
657
658} /* namespace ldndc */
659
660
661#endif /* !PLANT_H_ */
Spatially explicit groundwater model.
Definition airchemistryput.h:15