Rev 639 | Rev 671 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 639 | Rev 662 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | // actions
|
17 | // actions
|
18 | void setSoilInput(const CNPool &labile_input_kg_ha, const CNPool &refractory_input_kg_ha); ///< provide values for input pools |
18 | void setSoilInput(const CNPool &labile_input_kg_ha, const CNPool &refractory_input_kg_ha); ///< provide values for input pools |
19 | void setClimateFactor(const double climate_factor_re) { mRE = climate_factor_re; } ///< set the climate decomposition factor for the current year |
19 | void setClimateFactor(const double climate_factor_re) { mRE = climate_factor_re; } ///< set the climate decomposition factor for the current year |
20 | void newYear(); ///< reset of counters |
20 | void newYear(); ///< reset of counters |
21 | void calculateYear(); ///< main calculation function: calculates the update of state variables |
21 | void calculateYear(); ///< main calculation function: calculates the update of state variables |
- | 22 | ||
22 | /// remove part of the biomass (e.g.: due to fire).
|
23 | /// remove part of the biomass (e.g.: due to fire).
|
23 | /// @param DWDfrac fraction of downed woody debris (yR) to remove (0: nothing, 1: remove 100% percent)
|
24 | /// @param DWDfrac fraction of downed woody debris (yR) to remove (0: nothing, 1: remove 100% percent)
|
24 | /// @param litterFrac fraction of litter pools (yL) to remove (0: nothing, 1: remove 100% percent)
|
25 | /// @param litterFrac fraction of litter pools (yL) to remove (0: nothing, 1: remove 100% percent)
|
25 | /// @param soilFrac fraction of soil pool (SOM) to remove (0: nothing, 1: remove 100% percent)
|
26 | /// @param soilFrac fraction of soil pool (SOM) to remove (0: nothing, 1: remove 100% percent)
|
26 | void disturbance(double DWDfrac, double litterFrac, double soilFrac); |
27 | void disturbance(double DWDfrac, double litterFrac, double soilFrac); |
- | 28 | /// remove biomass from the soil layer (e.g.: due to fire).
|
|
- | 29 | /// @param DWD_kg_ha downed woody debris (yR) to remove kg/ha
|
|
- | 30 | /// @param litter_kg_ha biomass in litter pools (yL) to remove kg/ha
|
|
- | 31 | /// @param soil_kg_ha biomass in soil pool (SOM) to remove kg/ha
|
|
- | 32 | void disturbanceBiomass(double DWD_kg_ha, double litter_kg_ha, double soil_kg_ha); |
|
27 | 33 | ||
28 | // access
|
34 | // access
|
29 | const CNPool &youngLabile() const { return mYL;} ///< young labile matter (t/ha) |
35 | const CNPool &youngLabile() const { return mYL;} ///< young labile matter (t/ha) |
30 | const CNPool &youngRefractory() const { return mYR;} ///< young refractory matter (t/ha) |
36 | const CNPool &youngRefractory() const { return mYR;} ///< young refractory matter (t/ha) |
31 | const CNPair &oldOrganicMatter() const { return mSOM;} ///< old matter (SOM) (t/ha) |
37 | const CNPair &oldOrganicMatter() const { return mSOM;} ///< old matter (SOM) (t/ha) |
Line 52... | Line 58... | ||
52 | // state variables
|
58 | // state variables
|
53 | CNPool mYL; ///< C/N Pool for young labile matter (i.e. litter) (t/ha) |
59 | CNPool mYL; ///< C/N Pool for young labile matter (i.e. litter) (t/ha) |
54 | CNPool mYR; ///< C/N Pool for young refractory matter (i.e. downed woody debris) (t/ha) |
60 | CNPool mYR; ///< C/N Pool for young refractory matter (i.e. downed woody debris) (t/ha) |
55 | CNPair mSOM; ///< C/N Pool for old matter (t/ha) (i.e. soil organic matter, SOM) |
61 | CNPair mSOM; ///< C/N Pool for old matter (t/ha) (i.e. soil organic matter, SOM) |
56 | 62 | ||
57 | CNPair mTotalToDisturbance; ///< book-kepping pool for heterotrophic respiration (kg/*ha*) |
- | |
- | 63 | CNPair mTotalToDisturbance; ///< book-keeping pool for heterotrophic respiration (kg/*ha) |
|
58 | CNPair mTotalToAtmosphere; ///< book-keeping disturbance envents (fire) (kg/ha) |
64 | CNPair mTotalToAtmosphere; ///< book-keeping disturbance envents (fire) (kg/ha) |
59 | }; |
65 | }; |
60 | 66 | ||
61 | #endif // SOIL_H
|
67 | #endif // SOIL_H
|