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
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| 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 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| 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 |