| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=r_2), | public, | parameter | :: | zero | = | 0.0_r_2 | |
| real(kind=r_2), | public, | parameter | :: | one | = | 1.0_r_2 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | nleaf | |||
| real, | intent(in) | :: | pleaf |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xnplimit | ||
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xNPuptake | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet |
Computes the fraction of net photosynthate allocated to leaf, wood and froot using an allocation scheme modified from Pierre Friedlingstein.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(soil_parameter_type), | intent(inout) | :: | soil | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(phen_variable), | intent(inout) | :: | phen | |||
| integer, | intent(in) | :: | LALLOC |
Carbon allocation algorithm implemented by Dan Qiu and YP Wang in 2011 based on Adam Wolf 1 and 2
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(in) | :: | veg | |||
| type(casa_biome), | intent(in) | :: | casabiome | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_met), | intent(in) | :: | casamet |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xkleafcold | ||
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xkleafdry | ||
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xkleaf | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(phen_variable), | intent(inout) | :: | phen |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xklitter | ||
| real(kind=r_2), | intent(out), | DIMENSION(mp) | :: | xksoil | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(soil_parameter_type), | intent(inout) | :: | soil | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(casa_biome), | intent(inout) | :: | casabiome |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xkleafcold | ||
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xkleafdry | ||
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xkleaf | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(phen_variable), | intent(in) | :: | phen |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xklitter | ||
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xksoil | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(soil_parameter_type), | intent(inout) | :: | soil | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet |
revise turnover and NPP and dcplantdt to reflect above adjustments End of adjustments to avoid negative stores Ticket#108
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| real, | intent(out), | DIMENSION(mp) | :: | cleaf2met | ||
| real, | intent(out), | DIMENSION(mp) | :: | cleaf2str | ||
| real, | intent(out), | DIMENSION(mp) | :: | croot2met | ||
| real, | intent(out), | DIMENSION(mp) | :: | croot2str | ||
| real, | intent(out), | DIMENSION(mp) | :: | cwood2cwd | ||
| real, | intent(out), | DIMENSION(mp) | :: | nleaf2met | ||
| real, | intent(out), | DIMENSION(mp) | :: | nleaf2str | ||
| real, | intent(out), | DIMENSION(mp) | :: | nroot2met | ||
| real, | intent(out), | DIMENSION(mp) | :: | nroot2str | ||
| real, | intent(out), | DIMENSION(mp) | :: | nwood2cwd | ||
| real, | intent(out), | DIMENSION(mp) | :: | pleaf2met | ||
| real, | intent(out), | DIMENSION(mp) | :: | pleaf2str | ||
| real, | intent(out), | DIMENSION(mp) | :: | proot2met | ||
| real, | intent(out), | DIMENSION(mp) | :: | proot2str | ||
| real, | intent(out), | DIMENSION(mp) | :: | pwood2cwd |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(casa_biome), | intent(inout) | :: | casabiome |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(soil_parameter_type), | intent(inout) | :: | soil | |||
| type(casa_met), | intent(inout) | :: | casamet |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(inout), | DIMENSION(mp) | :: | xkNlimiting | ||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(veg_parameter_type), | intent(in) | :: | veg |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xkNlimiting | ||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xnCnpp | ||
| real(kind=r_2), | intent(inout), | DIMENSION(mp,mplant) | :: | Nreqmin | ||
| real(kind=r_2), | intent(inout), | DIMENSION(mp,mplant) | :: | Nreqmax | ||
| real(kind=r_2), | intent(inout), | DIMENSION(mp,mplant) | :: | NtransPtoP | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xkNlimiting | ||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=r_2), | intent(in), | DIMENSION(mp) | :: | xpCnpp | ||
| real(kind=r_2), | intent(inout), | DIMENSION(mp,mplant) | :: | Preqmin | ||
| real(kind=r_2), | intent(inout), | DIMENSION(mp,mplant) | :: | Preqmax | ||
| real(kind=r_2), | intent(inout), | DIMENSION(mp,mplant) | :: | PtransPtoP | ||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(casa_biome), | intent(inout) | :: | casabiome | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_met), | intent(inout) | :: | casamet | |||
| type(casa_balance), | intent(inout) | :: | casabal | |||
| integer, | intent(in) | :: | LALLOC |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n | |||
| integer, | intent(in) | :: | ipool | |||
| type(casa_pool), | intent(inout) | :: | casapool |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(veg_parameter_type), | intent(in) | :: | veg | |||
| type(casa_met), | intent(in) | :: | casamet | |||
| type(casa_pool), | intent(inout) | :: | casapool | |||
| type(casa_flux), | intent(inout) | :: | casaflux | |||
| type(casa_balance), | intent(inout) | :: | casabal |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(casa_met), | intent(in) | :: | casamet | |||
| type(casa_balance), | intent(inout) | :: | casabal | |||
| type(casa_pool), | intent(inout) | :: | casapool |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(casa_met), | intent(in) | :: | casamet | |||
| type(casa_balance), | intent(inout) | :: | casabal | |||
| type(casa_flux), | intent(in) | :: | casaflux | |||
| type(casa_pool), | intent(inout) | :: | casapool |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iday | |||
| type(veg_parameter_type), | intent(inout) | :: | veg | |||
| type(phen_variable), | intent(inout) | :: | phen |