CAM
cnallocationmod Module Reference

Data Types

type  cnallocparamstype
 

Functions/Subroutines

subroutine, public readcnallocparams (ncid)
 
subroutine, public cnallocationinit (bounds)
 
subroutine, public cnallocation1_plantnpdemand (bounds, num_soilc, filter_soilc, num_soilp, filter_soilp, photosyns_vars, crop_vars, canopystate_vars, cnstate_vars, carbonstate_vars, carbonflux_vars, c13_carbonflux_vars, c14_carbonflux_vars, nitrogenstate_vars, nitrogenflux_vars, phosphorusstate_vars, phosphorusflux_vars)
 
subroutine, public cnallocation2_resolvenplimit (bounds, num_soilc, filter_soilc, num_soilp, filter_soilp, cnstate_vars, carbonstate_vars, carbonflux_vars, nitrogenstate_vars, nitrogenflux_vars, phosphorusstate_vars, phosphorusflux_vars, soilstate_vars, waterstate_vars)
 
subroutine, public cnallocation3_plantcnpalloc (bounds, num_soilc, filter_soilc, num_soilp, filter_soilp, canopystate_vars, cnstate_vars, carbonstate_vars, carbonflux_vars, c13_carbonflux_vars, c14_carbonflux_vars, nitrogenstate_vars, nitrogenflux_vars, phosphorusstate_vars, phosphorusflux_vars, crop_vars)
 
subroutine, private calc_nuptake_prof (bounds, num_soilc, filter_soilc, cnstate_vars, nitrogenstate_vars, nuptake_prof)
 
subroutine, private calc_puptake_prof (bounds, num_soilc, filter_soilc, cnstate_vars, phosphorusstate_vars, puptake_prof)
 
subroutine, public dynamic_plant_alloc (nutrient_scalar, water_scalar, laindex, alloc_leaf, alloc_stem, alloc_froot, woody)
 

Variables

type(cnallocparamstype), protected cnallocparamsinst
 
character(len= *), parameter, public suplnall ='ALL'
 
character(len= *), parameter, public suplnnon ='NONE'
 
character(len=15), public suplnitro = suplnNon
 
character(len= *), parameter, public suplpall ='ALL'
 
character(len= *), parameter, public suplpnon ='NONE'
 
character(len=15), public suplphos = suplpAll
 
logical, public nu_com_leaf_physiology = .false.
 
logical, public nu_com_root_kinetics = .false.
 
logical, public nu_com_phosphatase = .false.
 
logical, public nu_com_nfix = .false.
 
real(r8) dt
 
real(r8) bdnr
 
real(r8) dayscrecover
 
real(r8), dimension(:), allocatable arepr
 
real(r8), dimension(:), allocatable aroot
 
real(r8), dimension(:), allocatable col_plant_ndemand
 
real(r8), dimension(:), allocatable col_plant_pdemand
 
logical crop_supln = .false.
 
real(r8), dimension(:,:), allocatable decompmicc
 
real(r8), parameter e_plant_scalar = 0.0000125_r8
 
real(r8), parameter e_decomp_scalar = 0.05_r8
 
real(r8) e_km_nh4
 
real(r8) e_km_no3
 
real(r8) e_km_p
 
real(r8) e_km_n
 

Function/Subroutine Documentation

◆ calc_nuptake_prof()

subroutine, private cnallocationmod::calc_nuptake_prof ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_soilc,
integer, dimension(:), intent(in)  filter_soilc,
type(cnstate_type), intent(in)  cnstate_vars,
type(nitrogenstate_type), intent(in)  nitrogenstate_vars,
real(r8), dimension(bounds%begc:bounds%endc, 1:nlevdecomp), intent(inout)  nuptake_prof 
)
private
Here is the caller graph for this function:

◆ calc_puptake_prof()

subroutine, private cnallocationmod::calc_puptake_prof ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_soilc,
integer, dimension(:), intent(in)  filter_soilc,
type(cnstate_type), intent(in)  cnstate_vars,
type(phosphorusstate_type), intent(in)  phosphorusstate_vars,
real(r8), dimension(bounds%begc:bounds%endc, 1:nlevdecomp), intent(inout)  puptake_prof 
)
private
Here is the caller graph for this function:

◆ cnallocation1_plantnpdemand()

subroutine, public cnallocationmod::cnallocation1_plantnpdemand ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_soilc,
integer, dimension(:), intent(in)  filter_soilc,
integer, intent(in)  num_soilp,
integer, dimension(:), intent(in)  filter_soilp,
type(photosyns_type), intent(in)  photosyns_vars,
type(crop_type), intent(in)  crop_vars,
type(canopystate_type), intent(in)  canopystate_vars,
type(cnstate_type), intent(inout)  cnstate_vars,
type(carbonstate_type), intent(in)  carbonstate_vars,
type(carbonflux_type), intent(inout)  carbonflux_vars,
type(carbonflux_type), intent(inout)  c13_carbonflux_vars,
type(carbonflux_type), intent(inout)  c14_carbonflux_vars,
type(nitrogenstate_type), intent(inout)  nitrogenstate_vars,
type(nitrogenflux_type), intent(inout)  nitrogenflux_vars,
type(phosphorusstate_type), intent(inout)  phosphorusstate_vars,
type(phosphorusflux_type), intent(inout)  phosphorusflux_vars 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cnallocation2_resolvenplimit()

subroutine, public cnallocationmod::cnallocation2_resolvenplimit ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_soilc,
integer, dimension(:), intent(in)  filter_soilc,
integer, intent(in)  num_soilp,
integer, dimension(:), intent(in)  filter_soilp,
type(cnstate_type), intent(inout)  cnstate_vars,
type(carbonstate_type), intent(in)  carbonstate_vars,
type(carbonflux_type), intent(inout)  carbonflux_vars,
type(nitrogenstate_type), intent(inout)  nitrogenstate_vars,
type(nitrogenflux_type), intent(inout)  nitrogenflux_vars,
type(phosphorusstate_type), intent(inout)  phosphorusstate_vars,
type(phosphorusflux_type), intent(inout)  phosphorusflux_vars,
type(soilstate_type), intent(in)  soilstate_vars,
type(waterstate_type), intent(in)  waterstate_vars 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cnallocation3_plantcnpalloc()

subroutine, public cnallocationmod::cnallocation3_plantcnpalloc ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_soilc,
integer, dimension(:), intent(in)  filter_soilc,
integer, intent(in)  num_soilp,
integer, dimension(:), intent(in)  filter_soilp,
type(canopystate_type), intent(in)  canopystate_vars,
type(cnstate_type), intent(inout)  cnstate_vars,
type(carbonstate_type), intent(in)  carbonstate_vars,
type(carbonflux_type), intent(inout)  carbonflux_vars,
type(carbonflux_type), intent(inout)  c13_carbonflux_vars,
type(carbonflux_type), intent(inout)  c14_carbonflux_vars,
type(nitrogenstate_type), intent(inout)  nitrogenstate_vars,
type(nitrogenflux_type), intent(inout)  nitrogenflux_vars,
type(phosphorusstate_type), intent(inout)  phosphorusstate_vars,
type(phosphorusflux_type), intent(inout)  phosphorusflux_vars,
type(crop_type), intent(inout)  crop_vars 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cnallocationinit()

subroutine, public cnallocationmod::cnallocationinit ( type(bounds_type), intent(in)  bounds)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dynamic_plant_alloc()

subroutine, public cnallocationmod::dynamic_plant_alloc ( real(r8), intent(in)  nutrient_scalar,
real(r8), intent(in)  water_scalar,
real(r8), intent(in)  laindex,
real(r8), intent(out)  alloc_leaf,
real(r8), intent(out)  alloc_stem,
real(r8), intent(out)  alloc_froot,
real(r8), intent(in)  woody 
)
Here is the caller graph for this function:

◆ readcnallocparams()

subroutine, public cnallocationmod::readcnallocparams ( type(file_desc_t), intent(inout)  ncid)
Here is the caller graph for this function:

Variable Documentation

◆ arepr

real(r8), dimension(:), allocatable cnallocationmod::arepr

◆ aroot

real(r8), dimension(:), allocatable cnallocationmod::aroot

◆ bdnr

real(r8) cnallocationmod::bdnr

◆ cnallocparamsinst

type(cnallocparamstype), protected cnallocationmod::cnallocparamsinst

◆ col_plant_ndemand

real(r8), dimension(:), allocatable cnallocationmod::col_plant_ndemand

◆ col_plant_pdemand

real(r8), dimension(:), allocatable cnallocationmod::col_plant_pdemand

◆ crop_supln

logical cnallocationmod::crop_supln = .false.

◆ dayscrecover

real(r8) cnallocationmod::dayscrecover

◆ decompmicc

real(r8), dimension(:,:), allocatable cnallocationmod::decompmicc

◆ dt

real(r8) cnallocationmod::dt

◆ e_decomp_scalar

real(r8), parameter cnallocationmod::e_decomp_scalar = 0.05_r8

◆ e_km_n

real(r8) cnallocationmod::e_km_n

◆ e_km_nh4

real(r8) cnallocationmod::e_km_nh4

◆ e_km_no3

real(r8) cnallocationmod::e_km_no3

◆ e_km_p

real(r8) cnallocationmod::e_km_p

◆ e_plant_scalar

real(r8), parameter cnallocationmod::e_plant_scalar = 0.0000125_r8

◆ nu_com_leaf_physiology

logical, public cnallocationmod::nu_com_leaf_physiology = .false.

◆ nu_com_nfix

logical, public cnallocationmod::nu_com_nfix = .false.

◆ nu_com_phosphatase

logical, public cnallocationmod::nu_com_phosphatase = .false.

◆ nu_com_root_kinetics

logical, public cnallocationmod::nu_com_root_kinetics = .false.

◆ suplnall

character(len=*), parameter, public cnallocationmod::suplnall ='ALL'

◆ suplnitro

character(len=15), public cnallocationmod::suplnitro = suplnNon

◆ suplnnon

character(len=*), parameter, public cnallocationmod::suplnnon ='NONE'

◆ suplpall

character(len=*), parameter, public cnallocationmod::suplpall ='ALL'

◆ suplphos

character(len=15), public cnallocationmod::suplphos = suplpAll

◆ suplpnon

character(len=*), parameter, public cnallocationmod::suplpnon ='NONE'