LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
ld_droughtstress.h
1
10
11#ifndef LD_DROUGHTSTRESS_H_
12#define LD_DROUGHTSTRESS_H_
13
14#include "ld_modelsconfig.h"
15#include "state/mbe_state.h"
16#include <model/tinymodelcoll.h>
17
18struct LDNDC_API DroughtStress : public cbm::TinyModelCollection< DroughtStress, double, double >
19{
20 DroughtStress( char const * = 0 /*kind*/);
21
22 /* evaluate for given "water stress factor" (WS) */
23 double evaluate( double /*WS*/,
24 char const * = 0 /*kind*/) const;
25
27 double exponential( double /*WS*/) const;
28
30 double linear_threshold( double /*WS*/) const; /*linear*/
31
33 static double linear_threshold( double /*WS*/, double /*fh2o_ref*/);
34
36 double linear( double /*WS*/) const; /*linear*/
37
38 /* relative available soil water content at which stomata start to close */
39 double fh2o_ref;
40
41 /* slope of foliage conductivity in response to relative available soil water content */
42 double gs_slope;
43
44 private:
45 typedef EvaluateFunction DroughtStressFunction;
46 DroughtStressFunction evaluate_function( char const * = 0 /*kind*/) const;
47};
48
49
50namespace ldndc {
51
66double
68 double const & _var,
69 double const & _var_ref,
70 double const & _var_scale);
71
72} /* namespace ldndc */
73
74#endif /* !LD_DROUGHTSTRESS_H_ */
75
Spatially explicit groundwater model.
Definition airchemistryput.h:15
double non_stomatal_water_limitation(double const &_var, double const &_var_ref, double const &_var_scale)
Non stomatal water limitation.
Definition ld_droughtstress.cpp:139