Reference (technical documentation)
Reference/Technical documentation
RTE and RRTMGP aspire to follow a set of coding conventions:
- Module names start with
mo_
, class/type names withty_
. - Real variables are defined with working precision
wp
; logical variables withwl
. Both Fortran KIND parameters are set inmo_rte_kind.F90
- Most procedures in RTE and RRTMGP are functions which return a string. A non-empty string indicates an error of some kind.
- RTE and RRTMGP operate on multiple columns (profiles) at once. Problems are dimensioned by column, layer, and spectral quadrature point.
- RTE and RRTMGP are agnostic to vertical ordering
- Units are MKS
- Procedures (with the exception of testing code) do not perform I/O