CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches
mo_rrtmgp_constants Module Reference

"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 More...

Functions/Subroutines

subroutine init_constants (gravity, mol_weight_dry_air, heat_capacity_dry_air)
 

Variables

real(wp), parameter k_boltz = 1.380649e-23_wp
 
real(wp), parameter m_h2o = 0.018016_wp
 
real(wp), parameter avogad = 6.02214076e23_wp
 
real(wp), parameter r_univ_gconst = avogad * k_boltz
 
real(wp), protected m_dry = 0.028964_wp
 
real(wp), protected grav = 9.80665_wp
 
real(wp), protected cp_dry = 1004.64_wp
 

Detailed Description

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,

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