CAM
ch4mod Module Reference

Data Types

type  ch4_type
 
type  ch4paramstype
 

Functions/Subroutines

subroutine init (this, bounds, cellorg_col)
 
subroutine initallocate (this, bounds)
 
subroutine inithistory (this, bounds)
 
subroutine initcold (this, bounds, cellorg_col)
 
subroutine restart (this, bounds, ncid, flag)
 
subroutine, public readch4params (ncid)
 
subroutine, public ch4 (bounds, num_soilc, filter_soilc, num_lakec, filter_lakec, num_soilp, filter_soilp, atm2lnd_vars, lakestate_vars, canopystate_vars, soilstate_vars, soilhydrology_vars, temperature_vars, energyflux_vars, waterstate_vars, waterflux_vars, carbonstate_vars, carbonflux_vars, nitrogenflux_vars, ch4_vars, lnd2atm_vars)
 
subroutine, private ch4_prod (bounds, num_methc, filter_methc, num_methp, filter_methp, jwt, sat, lake, soilstate_vars, temperature_vars, waterstate_vars, carbonflux_vars, nitrogenflux_vars, ch4_vars)
 
subroutine, private ch4_oxid (bounds, num_methc, filter_methc, jwt, sat, lake, waterstate_vars, soilstate_vars, temperature_vars, ch4_vars)
 
subroutine, private ch4_aere (bounds, num_methc, filter_methc, num_methp, filter_methp, jwt, sat, lake, canopystate_vars, soilstate_vars, temperature_vars, energyflux_vars, waterstate_vars, waterflux_vars, carbonstate_vars, carbonflux_vars, ch4_vars)
 
subroutine, private ch4_ebul (bounds, num_methc, filter_methc, jwt, sat, lake, atm2lnd_vars, temperature_vars, lakestate_vars, soilstate_vars, waterstate_vars, ch4_vars)
 
subroutine, private ch4_tran (bounds, num_methc, filter_methc, jwt, dtime_ch4, sat, lake, soilstate_vars, temperature_vars, waterstate_vars, energyflux_vars, ch4_vars)
 
subroutine, private get_jwt (bounds, num_methc, filter_methc, jwt, soilstate_vars, waterstate_vars, temperature_vars)
 
subroutine, private ch4_annualupdate (bounds, num_methc, filter_methc, num_methp, filter_methp, carbonflux_vars, ch4_vars)
 

Variables

real(r8) rgasm
 
real(r8), parameter rgaslatm = 0.0821_r8
 
type(ch4paramstype), private ch4paramsinst
 

Function/Subroutine Documentation

◆ ch4()

subroutine, public ch4mod::ch4 ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_soilc,
integer, dimension(:), intent(in)  filter_soilc,
integer, intent(in)  num_lakec,
integer, dimension(:), intent(in)  filter_lakec,
integer, intent(in)  num_soilp,
integer, dimension(:), intent(in)  filter_soilp,
type(atm2lnd_type), intent(inout)  atm2lnd_vars,
type(lakestate_type), intent(in)  lakestate_vars,
type(canopystate_type), intent(in)  canopystate_vars,
type(soilstate_type), intent(inout)  soilstate_vars,
type(soilhydrology_type), intent(in)  soilhydrology_vars,
type(temperature_type), intent(in)  temperature_vars,
type(energyflux_type), intent(inout)  energyflux_vars,
type(waterstate_type), intent(in)  waterstate_vars,
type(waterflux_type), intent(in)  waterflux_vars,
type(carbonstate_type), intent(in)  carbonstate_vars,
type(carbonflux_type), intent(inout)  carbonflux_vars,
type(nitrogenflux_type), intent(in)  nitrogenflux_vars,
type(ch4_type), intent(inout)  ch4_vars,
type(lnd2atm_type), intent(inout)  lnd2atm_vars 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ch4_aere()

subroutine, private ch4mod::ch4_aere ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, intent(in)  num_methp,
integer, dimension(:), intent(in)  filter_methp,
integer, dimension( bounds%begc: ), intent(in)  jwt,
integer, intent(in)  sat,
logical, intent(in)  lake,
type(canopystate_type), intent(in)  canopystate_vars,
type(soilstate_type), intent(inout)  soilstate_vars,
type(temperature_type), intent(in)  temperature_vars,
type(energyflux_type), intent(in)  energyflux_vars,
type(waterstate_type), intent(in)  waterstate_vars,
type(waterflux_type), intent(in)  waterflux_vars,
type(carbonstate_type), intent(in)  carbonstate_vars,
type(carbonflux_type), intent(in)  carbonflux_vars,
type(ch4_type), intent(inout)  ch4_vars 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ch4_annualupdate()

subroutine, private ch4mod::ch4_annualupdate ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, intent(in)  num_methp,
integer, dimension(:), intent(in)  filter_methp,
type(carbonflux_type), intent(inout)  carbonflux_vars,
type(ch4_type), intent(inout)  ch4_vars 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ch4_ebul()

subroutine, private ch4mod::ch4_ebul ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, dimension( bounds%begc: ), intent(in)  jwt,
integer, intent(in)  sat,
logical, intent(in)  lake,
type(atm2lnd_type), intent(in)  atm2lnd_vars,
type(temperature_type), intent(in)  temperature_vars,
type(lakestate_type), intent(in)  lakestate_vars,
type(soilstate_type), intent(in)  soilstate_vars,
type(waterstate_type), intent(in)  waterstate_vars,
type(ch4_type), intent(inout)  ch4_vars 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ch4_oxid()

subroutine, private ch4mod::ch4_oxid ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, dimension( bounds%begc: ), intent(in)  jwt,
integer, intent(in)  sat,
logical, intent(in)  lake,
type(waterstate_type), intent(in)  waterstate_vars,
type(soilstate_type), intent(in)  soilstate_vars,
type(temperature_type), intent(in)  temperature_vars,
type(ch4_type), intent(in)  ch4_vars 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ch4_prod()

subroutine, private ch4mod::ch4_prod ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, intent(in)  num_methp,
integer, dimension(:), intent(in)  filter_methp,
integer, dimension( bounds%begc: ), intent(in)  jwt,
integer, intent(in)  sat,
logical, intent(in)  lake,
type(soilstate_type), intent(inout)  soilstate_vars,
type(temperature_type), intent(in)  temperature_vars,
type(waterstate_type), intent(in)  waterstate_vars,
type(carbonflux_type), intent(in)  carbonflux_vars,
type(nitrogenflux_type), intent(in)  nitrogenflux_vars,
type(ch4_type), intent(inout)  ch4_vars 
)
private
Here is the caller graph for this function:

◆ ch4_tran()

subroutine, private ch4mod::ch4_tran ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, dimension( bounds%begc: ), intent(in)  jwt,
real(r8), intent(in)  dtime_ch4,
integer, intent(in)  sat,
logical, intent(in)  lake,
type(soilstate_type), intent(in)  soilstate_vars,
type(temperature_type), intent(in)  temperature_vars,
type(waterstate_type), intent(in)  waterstate_vars,
type(energyflux_type), intent(in)  energyflux_vars,
type(ch4_type), intent(inout)  ch4_vars 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_jwt()

subroutine, private ch4mod::get_jwt ( type(bounds_type), intent(in)  bounds,
integer, intent(in)  num_methc,
integer, dimension(:), intent(in)  filter_methc,
integer, dimension( bounds%begc: ), intent(out)  jwt,
type(soilstate_type), intent(in)  soilstate_vars,
type(waterstate_type), intent(in)  waterstate_vars,
type(temperature_type), intent(in)  temperature_vars 
)
private
Here is the caller graph for this function:

◆ init()

subroutine ch4mod::init ( class(ch4_type this,
type(bounds_type), intent(in)  bounds,
real(r8), dimension (bounds%begc:, 1:), intent(in)  cellorg_col 
)

◆ initallocate()

subroutine ch4mod::initallocate ( class(ch4_type this,
type(bounds_type), intent(in)  bounds 
)
private

◆ initcold()

subroutine ch4mod::initcold ( class(ch4_type this,
type(bounds_type), intent(in)  bounds,
real(r8), dimension (bounds%begc:, 1:), intent(in)  cellorg_col 
)
Here is the call graph for this function:

◆ inithistory()

subroutine ch4mod::inithistory ( class(ch4_type this,
type(bounds_type), intent(in)  bounds 
)
Here is the call graph for this function:

◆ readch4params()

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

◆ restart()

subroutine ch4mod::restart ( class(ch4_type this,
type(bounds_type), intent(in)  bounds,
type(file_desc_t), intent(inout)  ncid,
character(len=*), intent(in)  flag 
)

Variable Documentation

◆ ch4paramsinst

type(ch4paramstype), private ch4mod::ch4paramsinst
private

◆ rgaslatm

real(r8), parameter ch4mod::rgaslatm = 0.0821_r8
private

◆ rgasm

real(r8) ch4mod::rgasm
private