CAM
bgccentcnptype Module Reference

Data Types

type  centurybgceca_type
 

Functions/Subroutines

class(centurybgceca_type) function, pointer, public create_centuryeca_type ()
 
subroutine init (this, biogeo_con, bstatus)
 
subroutine initallocate (this, centurybgc_index)
 
subroutine runbgc (this, is_surf, dtime, centuryeca_forc, nstates, ystates0, ystatesf, bstatus)
 
subroutine calc_cascade_matrix (this, centurybgc_index, cascade_matrix, frc_c13, frc_c14)
 
subroutine init_states (this, centurybgc_index, centuryeca_forc)
 
subroutine add_ext_input (this, dtime, centurybgc_index, centuryeca_forc, c_inf, n_inf, p_inf)
 
subroutine bgc_integrate (this, ystate, dtime, time, nprimvars, nstvars, dydt)
 
subroutine arenchyma_gas_transport (this, centurybgc_index, dtime)
 
subroutine sumup_cnp_msflx (this, ystates1, c_mass, n_mass, p_mass, c_flx, n_flx, p_flx)
 
subroutine sumup_cnp_mass (this, header, c_mass, n_mass, p_mass)
 
subroutine ode_adapt_ebbks1 (me, y0, nprimeq, neq, t, dt, y)
 

Variables

character(len= *), parameter, private mod_filename = __FILE__
 
logical, public ldebug_bgc =.false.
 

Function/Subroutine Documentation

◆ add_ext_input()

subroutine bgccentcnptype::add_ext_input ( class(centurybgceca_type), intent(inout)  this,
real(r8), intent(in)  dtime,
type(centurybgc_index_type), intent(in)  centurybgc_index,
type(centuryeca_forc_type), intent(in)  centuryeca_forc,
real(r8), intent(out), optional  c_inf,
real(r8), intent(out), optional  n_inf,
real(r8), intent(out), optional  p_inf 
)

◆ arenchyma_gas_transport()

subroutine bgccentcnptype::arenchyma_gas_transport ( class(centurybgceca_type), intent(inout)  this,
type(centurybgc_index_type), intent(in)  centurybgc_index,
real(r8), intent(in)  dtime 
)
Here is the call graph for this function:

◆ bgc_integrate()

subroutine bgccentcnptype::bgc_integrate ( class(centurybgceca_type), intent(inout)  this,
real(r8), dimension(nstvars), intent(in)  ystate,
real(r8), intent(in)  dtime,
real(r8), intent(in)  time,
integer, intent(in)  nprimvars,
integer, intent(in)  nstvars,
real(r8), dimension(nstvars), intent(out)  dydt 
)
Here is the call graph for this function:

◆ calc_cascade_matrix()

subroutine bgccentcnptype::calc_cascade_matrix ( class(centurybgceca_type), intent(in)  this,
type(centurybgc_index_type), intent(in)  centurybgc_index,
real(r8), dimension(centurybgc_index%nstvars, centurybgc_index%nreactions), intent(inout)  cascade_matrix,
real(r8), intent(in)  frc_c13,
real(r8), intent(in)  frc_c14 
)
Here is the call graph for this function:

◆ create_centuryeca_type()

class(centurybgceca_type) function, pointer, public bgccentcnptype::create_centuryeca_type ( )

◆ init()

subroutine bgccentcnptype::init ( class(centurybgceca_type), intent(inout)  this,
type(biogeocon_type), intent(in)  biogeo_con,
type(betr_status_type), intent(out)  bstatus 
)
private

◆ init_states()

subroutine bgccentcnptype::init_states ( class(centurybgceca_type), intent(inout)  this,
type(centurybgc_index_type), intent(in)  centurybgc_index,
type(centuryeca_forc_type), intent(in)  centuryeca_forc 
)

◆ initallocate()

subroutine bgccentcnptype::initallocate ( class(centurybgceca_type), intent(inout)  this,
type(centurybgc_index_type), intent(in)  centurybgc_index 
)

◆ ode_adapt_ebbks1()

subroutine bgccentcnptype::ode_adapt_ebbks1 ( class(centurybgceca_type), intent(inout)  me,
real(r8), dimension(neq), intent(in)  y0,
integer, intent(in)  nprimeq,
integer, intent(in)  neq,
real(r8), intent(in)  t,
real(r8), intent(in)  dt,
real(r8), dimension(neq), intent(out)  y 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ runbgc()

subroutine bgccentcnptype::runbgc ( class(centurybgceca_type), intent(inout)  this,
logical, intent(in)  is_surf,
real(r8), intent(in)  dtime,
type(centuryeca_forc_type), intent(in)  centuryeca_forc,
integer, intent(in)  nstates,
real(r8), dimension(nstates), intent(out)  ystates0,
real(r8), dimension(nstates), intent(out)  ystatesf,
type(betr_status_type), intent(out)  bstatus 
)
Here is the call graph for this function:

◆ sumup_cnp_mass()

subroutine bgccentcnptype::sumup_cnp_mass ( class(centurybgceca_type), intent(in)  this,
character(len=*), intent(in)  header,
real(r8), intent(out)  c_mass,
real(r8), intent(out)  n_mass,
real(r8), intent(out)  p_mass 
)

◆ sumup_cnp_msflx()

subroutine bgccentcnptype::sumup_cnp_msflx ( class(centurybgceca_type), intent(in)  this,
real(r8), dimension(this%centurybgc_index%nstvars), intent(in)  ystates1,
real(r8), intent(out)  c_mass,
real(r8), intent(out)  n_mass,
real(r8), intent(out)  p_mass,
real(r8), intent(out), optional  c_flx,
real(r8), intent(out), optional  n_flx,
real(r8), intent(out), optional  p_flx 
)
private

Variable Documentation

◆ ldebug_bgc

logical, public bgccentcnptype::ldebug_bgc =.false.

◆ mod_filename

character(len=*), parameter, private bgccentcnptype::mod_filename = __FILE__
private