CAM
chemistry Module Reference

Functions/Subroutines

logical function, public chem_is (name)
 
subroutine, public chem_register (species_class)
 
subroutine, public chem_readnl (nlfile)
 
logical function, public chem_is_active ()
 
logical function, public chem_implements_cnst (name)
 
subroutine, public chem_init (phys_state, pbuf2d, species_class)
 
subroutine, public chem_emissions (state, cam_in)
 
subroutine, public chem_init_cnst (name, q, gcid)
 
subroutine, public chem_timestep_init (phys_state, pbuf2d)
 
subroutine, public chem_timestep_tend (state, ptend, cam_in, cam_out, dt, pbuf, fh2o, fsds)
 
subroutine, public chem_final
 
subroutine, public chem_init_restart (File)
 
subroutine, public chem_write_restart (File)
 
subroutine, public chem_read_restart (File)
 

Variables

integer, public imozart = -1
 
integer chem_freq = 1
 
character(len=shr_kind_cl) bndtvg = ' '
 
character(len=shr_kind_cl) h2orates = ' '
 
real(r8) lght_no_prd_factor = 1._r8
 
logical xactive_prates = .false.
 
character(len=shr_kind_cl) rsf_file = 'rsf_file'
 
character(len=shr_kind_cl) exo_coldens_file = ''
 
character(len=shr_kind_cl) tuv_xsect_file = 'tuv_xsect_file'
 
character(len=shr_kind_cl) o2_xsect_file = 'o2_xsect_file'
 
character(len=shr_kind_cl) xs_coef_file = 'xs_coef_file'
 
character(len=shr_kind_cl) xs_short_file = 'xs_short_file'
 
character(len=shr_kind_cl) xs_long_file = 'xs_long_file'
 
character(len=shr_kind_cl) electron_file = 'electron_file'
 
character(len=shr_kind_cl) euvac_file = 'euvac_file'
 
character(len=shr_kind_cl) euvacdat_file = 'euvacdat_file'
 
character(len=shr_kind_cl) solar_parms_file = ' '
 
character(len=shr_kind_cl) photon_file = 'photon_file'
 
character(len=shr_kind_cl) depvel_file = 'depvel_file'
 
character(len=shr_kind_cl) depvel_lnd_file = 'depvel_lnd_file'
 
character(len=shr_kind_cl) clim_soilw_file = 'clim_soilw_file'
 
character(len=shr_kind_cl) season_wes_file = 'season_wes_file'
 
character(len=shr_kind_cl) airpl_emis_file = ''
 
character(len=shr_kind_cl), dimension(pcnst) srf_emis_specifier = ''
 
character(len=shr_kind_cl), dimension(pcnst) ext_frc_specifier = ''
 
character(len=24) srf_emis_type = 'CYCLICAL'
 
integer srf_emis_cycle_yr = 0
 
integer srf_emis_fixed_ymd = 0
 
integer srf_emis_fixed_tod = 0
 
character(len=24) ext_frc_type = 'CYCLICAL'
 
integer ext_frc_cycle_yr = 0
 
integer ext_frc_fixed_ymd = 0
 
integer ext_frc_fixed_tod = 0
 
character(len=shr_kind_cl) fstrat_file = 'fstrat_file'
 
character(len=16), dimension(pcnst) fstrat_list = ''
 
character(len=shr_kind_cl) sad_file = 'sad_file'
 
character(len=shr_kind_cl) sulf_file = 'sulf_file'
 
type(time_rampsad_timing
 
character(len=shr_kind_cl) chlorine_loading_file = ''
 
character(len=8) chlorine_loading_type = 'SERIAL'
 
integer chlorine_loading_fixed_ymd = 0
 
integer chlorine_loading_fixed_tod = 0
 
real(r8), parameter cptmp = 666._r8
 
character(len=fieldname_len), dimension(gas_pcnst) srcnam
 
integer ixcldliq
 
integer ixcldice
 
integer ndx_cld
 
integer ndx_cmfdqr
 
integer ndx_nevapr
 
integer ndx_prain
 
integer ndx_cldtop
 
integer h2o_ndx
 
integer ixndrop
 
integer ndx_pblh
 
logical ghg_chem = .false.
 
logical chem_step = .true.
 
logical is_active = .false.
 
character(len=32) chem_name = 'UNSET'
 
logical chem_rad_passive = .false.
 
integer, dimension(:), allocatable megan_indices_map
 
real(r8), dimension(:), allocatable megan_wght_factors
 

Function/Subroutine Documentation

◆ chem_emissions()

subroutine, public chemistry::chem_emissions ( type(physics_state), intent(in)  state,
type(cam_in_t), intent(inout)  cam_in 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_final()

subroutine, public chemistry::chem_final ( )
Here is the caller graph for this function:

◆ chem_implements_cnst()

logical function, public chemistry::chem_implements_cnst ( character(len=*), intent(in)  name)
Here is the caller graph for this function:

◆ chem_init()

subroutine, public chemistry::chem_init ( type(physics_state), dimension(begchunk:endchunk), intent(in)  phys_state,
type(physics_buffer_desc), dimension(:,:), pointer  pbuf2d,
integer, dimension(pcnst), intent(inout)  species_class 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_init_cnst()

subroutine, public chemistry::chem_init_cnst ( character(len=*), intent(in)  name,
real(r8), dimension(:,:), intent(inout)  q,
integer, dimension(:), intent(in)  gcid 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_init_restart()

subroutine, public chemistry::chem_init_restart ( type(file_desc_t), intent(inout)  File)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_is()

logical function, public chemistry::chem_is ( character(len=*), intent(in)  name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_is_active()

logical function, public chemistry::chem_is_active ( )
Here is the caller graph for this function:

◆ chem_read_restart()

subroutine, public chemistry::chem_read_restart ( type(file_desc_t)  File)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_readnl()

subroutine, public chemistry::chem_readnl ( character(len=*), intent(in)  nlfile)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_register()

subroutine, public chemistry::chem_register ( integer, dimension(:), intent(inout)  species_class)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_timestep_init()

subroutine, public chemistry::chem_timestep_init ( type(physics_state), dimension(begchunk:endchunk), intent(inout)  phys_state,
type(physics_buffer_desc), dimension(:,:), pointer  pbuf2d 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_timestep_tend()

subroutine, public chemistry::chem_timestep_tend ( type(physics_state), intent(in)  state,
type(physics_ptend), intent(out)  ptend,
type(cam_in_t), intent(inout)  cam_in,
type(cam_out_t), intent(inout)  cam_out,
real(r8), intent(in)  dt,
type(physics_buffer_desc), dimension(:), pointer  pbuf,
real(r8), dimension(pcols), intent(out)  fh2o,
real(r8), dimension(pcols), intent(in)  fsds 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chem_write_restart()

subroutine, public chemistry::chem_write_restart ( type(file_desc_t)  File)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ airpl_emis_file

character(len=shr_kind_cl) chemistry::airpl_emis_file = ''
private

◆ bndtvg

character(len=shr_kind_cl) chemistry::bndtvg = ' '
private

◆ chem_freq

integer chemistry::chem_freq = 1
private

◆ chem_name

character(len=32) chemistry::chem_name = 'UNSET'
private

◆ chem_rad_passive

logical chemistry::chem_rad_passive = .false.
private

◆ chem_step

logical chemistry::chem_step = .true.
private

◆ chlorine_loading_file

character(len=shr_kind_cl) chemistry::chlorine_loading_file = ''
private

◆ chlorine_loading_fixed_tod

integer chemistry::chlorine_loading_fixed_tod = 0
private

◆ chlorine_loading_fixed_ymd

integer chemistry::chlorine_loading_fixed_ymd = 0
private

◆ chlorine_loading_type

character(len=8) chemistry::chlorine_loading_type = 'SERIAL'
private

◆ clim_soilw_file

character(len=shr_kind_cl) chemistry::clim_soilw_file = 'clim_soilw_file'
private

◆ cptmp

real(r8), parameter chemistry::cptmp = 666._r8
private

◆ depvel_file

character(len=shr_kind_cl) chemistry::depvel_file = 'depvel_file'
private

◆ depvel_lnd_file

character(len=shr_kind_cl) chemistry::depvel_lnd_file = 'depvel_lnd_file'
private

◆ electron_file

character(len=shr_kind_cl) chemistry::electron_file = 'electron_file'
private

◆ euvac_file

character(len=shr_kind_cl) chemistry::euvac_file = 'euvac_file'
private

◆ euvacdat_file

character(len=shr_kind_cl) chemistry::euvacdat_file = 'euvacdat_file'
private

◆ exo_coldens_file

character(len=shr_kind_cl) chemistry::exo_coldens_file = ''
private

◆ ext_frc_cycle_yr

integer chemistry::ext_frc_cycle_yr = 0
private

◆ ext_frc_fixed_tod

integer chemistry::ext_frc_fixed_tod = 0
private

◆ ext_frc_fixed_ymd

integer chemistry::ext_frc_fixed_ymd = 0
private

◆ ext_frc_specifier

character(len=shr_kind_cl), dimension(pcnst) chemistry::ext_frc_specifier = ''
private

◆ ext_frc_type

character(len=24) chemistry::ext_frc_type = 'CYCLICAL'
private

◆ fstrat_file

character(len=shr_kind_cl) chemistry::fstrat_file = 'fstrat_file'
private

◆ fstrat_list

character(len=16), dimension(pcnst) chemistry::fstrat_list = ''
private

◆ ghg_chem

logical chemistry::ghg_chem = .false.
private

◆ h2o_ndx

integer chemistry::h2o_ndx
private

◆ h2orates

character(len=shr_kind_cl) chemistry::h2orates = ' '
private

◆ imozart

integer, public chemistry::imozart = -1

◆ is_active

logical chemistry::is_active = .false.
private

◆ ixcldice

integer chemistry::ixcldice
private

◆ ixcldliq

integer chemistry::ixcldliq
private

◆ ixndrop

integer chemistry::ixndrop
private

◆ lght_no_prd_factor

real(r8) chemistry::lght_no_prd_factor = 1._r8
private

◆ megan_indices_map

integer, dimension(:), allocatable chemistry::megan_indices_map
private

◆ megan_wght_factors

real(r8), dimension(:), allocatable chemistry::megan_wght_factors
private

◆ ndx_cld

integer chemistry::ndx_cld
private

◆ ndx_cldtop

integer chemistry::ndx_cldtop
private

◆ ndx_cmfdqr

integer chemistry::ndx_cmfdqr
private

◆ ndx_nevapr

integer chemistry::ndx_nevapr
private

◆ ndx_pblh

integer chemistry::ndx_pblh
private

◆ ndx_prain

integer chemistry::ndx_prain
private

◆ o2_xsect_file

character(len=shr_kind_cl) chemistry::o2_xsect_file = 'o2_xsect_file'
private

◆ photon_file

character(len=shr_kind_cl) chemistry::photon_file = 'photon_file'
private

◆ rsf_file

character(len=shr_kind_cl) chemistry::rsf_file = 'rsf_file'
private

◆ sad_file

character(len=shr_kind_cl) chemistry::sad_file = 'sad_file'
private

◆ sad_timing

type(time_ramp) chemistry::sad_timing
private

◆ season_wes_file

character(len=shr_kind_cl) chemistry::season_wes_file = 'season_wes_file'
private

◆ solar_parms_file

character(len=shr_kind_cl) chemistry::solar_parms_file = ' '
private

◆ srcnam

character(len=fieldname_len), dimension(gas_pcnst) chemistry::srcnam
private

◆ srf_emis_cycle_yr

integer chemistry::srf_emis_cycle_yr = 0
private

◆ srf_emis_fixed_tod

integer chemistry::srf_emis_fixed_tod = 0
private

◆ srf_emis_fixed_ymd

integer chemistry::srf_emis_fixed_ymd = 0
private

◆ srf_emis_specifier

character(len=shr_kind_cl), dimension(pcnst) chemistry::srf_emis_specifier = ''
private

◆ srf_emis_type

character(len=24) chemistry::srf_emis_type = 'CYCLICAL'
private

◆ sulf_file

character(len=shr_kind_cl) chemistry::sulf_file = 'sulf_file'
private

◆ tuv_xsect_file

character(len=shr_kind_cl) chemistry::tuv_xsect_file = 'tuv_xsect_file'
private

◆ xactive_prates

logical chemistry::xactive_prates = .false.
private

◆ xs_coef_file

character(len=shr_kind_cl) chemistry::xs_coef_file = 'xs_coef_file'
private

◆ xs_long_file

character(len=shr_kind_cl) chemistry::xs_long_file = 'xs_long_file'
private

◆ xs_short_file

character(len=shr_kind_cl) chemistry::xs_short_file = 'xs_short_file'
private