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

◆ rrtmgp_sw_gas_optics_init()

subroutine rrtmgp_sw_gas_optics::rrtmgp_sw_gas_optics_init ( character(len=128), intent(in) rrtmgp_root_dir,
character(len=128), intent(in) rrtmgp_sw_file_gas,
character(len=*), dimension(:), intent(in) active_gases_array,
type(mpi_comm), intent(in) mpicomm,
integer, intent(in) mpirank,
integer, intent(in) mpiroot,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

RRTMGP relies heavility on derived-data-types, which contain type-bound procedures that are referenced frequently throughout the RRTMGP shortwave scheme. The data needed for the correlated k-distribution is also contained within this type. Within this module, the full k-distribution data is read in, reduced by the "active gases" provided, and loaded into the RRTMGP DDT, ty_gas_optics_rrtmgp.

Parameters
[in]rrtmgp_sw_file_gasRRTMGP file containing K-distribution data
[in]active_gases_arrayList of active gases from namelist as array
[in]mpicommMPI communicator
[in]mpirootMaster MPI rank
[out]errmsgCCPP error message
[out]errflgCCPP error code
Parameters
rrtmgp_root_dirRTE-RRTMGP root directory
mpirankCurrent MPI rank

Definition at line 88 of file rrtmgp_sw_gas_optics.F90.