Rev 1104 | Rev 1217 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1104 | Rev 1157 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | #include "speciesresponse.h"
|
26 | #include "speciesresponse.h"
|
27 | #include "model.h"
|
27 | #include "model.h"
|
28 | 28 | ||
29 | Production3PG::Production3PG() |
29 | Production3PG::Production3PG() |
30 | {
|
30 | {
|
- | 31 | clear(); |
|
31 | mResponse=0; |
32 | mResponse=0; |
32 | mEnvYear = 0.; |
33 | mEnvYear = 0.; |
- | 34 | ||
33 | }
|
35 | }
|
34 | 36 | ||
35 | /**
|
37 | /**
|
36 | This is based on the utilizable photosynthetic active radiation.
|
38 | This is based on the utilizable photosynthetic active radiation.
|
37 | @sa http://iland.boku.ac.at/primary+production
|
39 | @sa http://iland.boku.ac.at/primary+production
|
Line 80... | Line 82... | ||
80 | {
|
82 | {
|
81 | for (int i=0;i<12;i++) { |
83 | for (int i=0;i<12;i++) { |
82 | mGPP[i] = 0.; mUPAR[i]=0.; |
84 | mGPP[i] = 0.; mUPAR[i]=0.; |
83 | }
|
85 | }
|
84 | mEnvYear = 0.; |
86 | mEnvYear = 0.; |
- | 87 | mGPPperArea = 0.; |
|
- | 88 | mRootFraction = 0.; |
|
85 | }
|
89 | }
|
86 | 90 | ||
87 | /** calculate the stand-level NPP
|
91 | /** calculate the stand-level NPP
|
88 | @ingroup core
|
92 | @ingroup core
|
89 | Standlevel (i.e ResourceUnit-level) production (NPP) following the 3PG approach from Landsberg and Waring.
|
93 | Standlevel (i.e ResourceUnit-level) production (NPP) following the 3PG approach from Landsberg and Waring.
|