mo_gas_optics_constants Module

Physical and mathematical constants used in RRTMGP gas optics calculation

If the host model in which RRTGMP is embedded has defined these constants elsewhere the model definitions can be used instead by renaming. For example, use mo_model_constants, only k_boltz => boltzman_k, ... where the syntax is local_name => original_name and all the local names need to be defined "Constants" specific to the earth's atmosphere should also be made consistent with the host model but may be changed in a call to init_constants(), normally at initialization


Uses

    • mo_rte_kind
  • module~~mo_gas_optics_constants~~UsesGraph module~mo_gas_optics_constants mo_gas_optics_constants mo_rte_kind mo_rte_kind module~mo_gas_optics_constants->mo_rte_kind

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=wp), public, parameter:: R_univ_gconst =avogad*k_boltz
real(kind=wp), public, parameter:: avogad =6.02214076e23_wp
real(kind=wp), public, parameter:: k_boltz =1.380649e-23_wp
real(kind=wp), public, parameter:: m_h2o =0.018016_wp

Subroutines

public subroutine init_constants(gravity, mol_weight_dry_air, heat_capacity_dry_air)

Arguments

TypeIntentOptionalAttributesName
real(kind=wp), intent(in), optional :: gravity

Planetary and atmospheric values used by RRTMGP in computing gas optical properties Default values reflect modern Earth but these can be changed using this routine

real(kind=wp), intent(in), optional :: mol_weight_dry_air

Planetary and atmospheric values used by RRTMGP in computing gas optical properties Default values reflect modern Earth but these can be changed using this routine

real(kind=wp), intent(in), optional :: heat_capacity_dry_air

Planetary and atmospheric values used by RRTMGP in computing gas optical properties Default values reflect modern Earth but these can be changed using this routine