LandscapeDNDC 1.37.0
ld_droughtstress.h
1
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 double linear( double /*WS*/) const; /*linear*/
34
35 /* relative available soil water content at which stomata start to close */
36 double fh2o_ref;
37
38 /* slope of foliage conductivity in response to relative available soil water content */
39 double gs_slope;
40
41 private:
42 typedef EvaluateFunction DroughtStressFunction;
43 DroughtStressFunction evaluate_function( char const * = 0 /*kind*/) const;
44};
45
46
47namespace ldndc {
48
63double
65 double const & _var,
66 double const & _var_ref,
67 double const & _var_scale);
68
69} /* namespace ldndc */
70
71#endif /* !LD_DROUGHTSTRESS_H_ */
72
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:136