LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
ld_oryza2000_ncrop.h
1
8
9#ifndef ORYZA2000_NCROP_H_
10#define ORYZA2000_NCROP_H_
11
12#include <containers/lvector.h>
13
14namespace ldndc {
15
16class Oryza2000State;
17class Oryza2000Ncrop
18{
19
20public:
21
22 Oryza2000Ncrop();
23
24 ~Oryza2000Ncrop();
25
26
27 lerr_t NcropReset();
28
29 lerr_t NcropInitialize( Oryza2000State *);
30
31 lerr_t NcropRateCalculation( bool , Oryza2000State *);
32
33 lerr_t NcropIntegrate( bool , Oryza2000State *);
34
35public:
36
37 double anrt; //Amount of N in roots
38 double anst; //Amount of N in stems
39 double anso; //Amount of N in storage organ
40 double anlv; //Amount of N in leaves
41 double anld; //Amount of N in dead leaves
42
43 //Amount of N in crop (live and dead material)
44 inline double ancr() const { return this->anso + this->anlv + this->anrt + this->anld + this->anst; };
45
46 double anlva; //Amount of N in leaves till flowering
47 double ansta; //Amount of N in stems till flowering
48
49 //Amount of N in crop till flowering
50 inline double ancrf() const { return this->ansta + this->anlva; };
51
52 double atnlv; //Total available N for translocation from leaves
53 double atnst; //Total available N for translocation from stems
54 double atnrt; //Total available N for translocation from roots
55 inline double atn() const { return this->atnlv + this->atnst + this->atnrt; }; //Total available N for translocation from leaves, stems, and roots
56
57 double fnrt; //Fraction of N in roots (kg N kg−1 DM)
58 double fnlv; //Fraction of N in leaves (kg N kg−1 DM)
59 double fnst; //Fraction of N in stems (kg N kg−1 DM)
60 double fnso; //Fraction of N in storage organs (kg N kg−1 DM)
61
62 double ntso; //Actual N translocation rate to storage organs from leaves, stems and roots (kg N ha−1 d−1)
63 double nacr; //Actual nitrogen uptake rate by crop (kg N ha−1 d−1)
64
65 double nrt;
66 double nlv; //Daily net flow rate of N to the leaves
67 double nst;
68 double nso;
69 double nldlv; //N loss rate because of death of leaves
70
71 double nlvan;
72 double nstan;
73
74 double nart;
75 double nalv; //Actual nitrogen uptake rate by leaves
76 double nast;
77 double naso;
78
79 double ntrt;
80 double nmaxl; //maximum nitrogen content of dry matter [kg N kg-1 DM-1]
81
82 double ntlv; //Actual N translocation rate to storage organs from leaves
83 double ntst;
84 double nflvp; //maximum (potential) N fraction in leaves on leaf area basis [g N m-2 leaf-1]
85
86
87 double nupp;
88
89 double nminl;
90 double ndeml;
91 double ndemc;
92
93 double soiln;
94};
95
96} /* namespace ldndc */
97
98
99#endif /* !ORYZA2000_NCROP_H_ */
100
Spatially explicit groundwater model.
Definition airchemistryput.h:15