Subversion Repositories public iLand

Rev

Rev 671 | Rev 698 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 671 Rev 697
Line 80... Line 80...
80
        mGPP[i] = 0.; mUPAR[i]=0.;
80
        mGPP[i] = 0.; mUPAR[i]=0.;
81
    }
81
    }
82
    mEnvYear = 0.;
82
    mEnvYear = 0.;
83
}
83
}
84
84
85
/** calculate the GPP
85
/** calculate the stand-level NPP
-
 
86
  @ingroup core
-
 
87
  Standlevel (i.e. ResourceUnit-level) production (NPP) following the 3PG approach from Landsberg and Waring.
86
  @sa http://iland.boku.ac.at/primary+production */
88
  @sa http://iland.boku.ac.at/primary+production */
87
double Production3PG::calculate()
89
double Production3PG::calculate()
88
{
90
{
89
    Q_ASSERT(mResponse!=0);
91
    Q_ASSERT(mResponse!=0);
90
    // Radiation: sum over all days of each month with foliage
92
    // Radiation: sum over all days of each month with foliage