Solver

RRTMGP.RTE.NoScatLWRTEType
NoScatLWRTE(grid_params::RRTMGPGridParams; params, sfc_emis, inc_flux,
            n_gauss_angles = 1)

A high-level RRTMGP data structure storing the optical properties, sources, boundary conditions and fluxes configurations for a non-scattering longwave simulation.

Fields

  • context: ClimaComms context.
  • op: Optical properties.
  • src: Longwave source functions.
  • bcs: Longwave boundary conditions.
  • fluxb: Temporary storage for bandwise calculations.
  • flux: Longwave fluxes.
  • angle_disc: Angular discretization; n_gauss_angles sets the number of Gauss-Jacobi-5 quadrature angles (1-4) used for the hemispheric integral of the spectral solve. One angle is the diffusivity approximation; more angles resolve the angular integral better, at proportional cost. Gray radiation is single-angle and rejects anything but 1.
  • state_cache: TransposedStateCache with column-first copies of the hot state arrays (refreshed at each spectral solve), or nothing.
source
RRTMGP.RTE.TwoStreamLWRTEType
TwoStreamLWRTE(grid_params::RRTMGPGridParams; params, sfc_emis, inc_flux)

A high-level RRTMGP data structure storing the optical properties, sources, boundary conditions and fluxes configurations for a 2-stream longwave simulation.

Fields

  • context: ClimaComms context.
  • op: Optical properties.
  • src: Longwave source functions.
  • bcs: Longwave boundary conditions.
  • fluxb: Temporary storage for bandwise calculations.
  • flux: Longwave fluxes.
  • band_flux: Optional per-band longwave fluxes (nlev, ncol, n_bnd), or nothing.
  • state_cache: TransposedStateCache with column-first copies of the hot state arrays (refreshed at each spectral solve), or nothing.
source
RRTMGP.RTE.NoScatSWRTEType
NoScatSWRTE(grid_params::RRTMGPGridParams; cos_zenith, toa_flux, sfc_alb_direct, inc_flux_diffuse, sfc_alb_diffuse)

A high-level RRTMGP data structure storing the optical properties, sources, boundary conditions and fluxes configurations for a non-scattering shortwave simulation.

Fields

  • context: ClimaComms context.
  • op: Optical properties.
  • bcs: Shortwave boundary conditions.
  • fluxb: Temporary storage for bandwise calculations.
  • flux: Shortwave fluxes.
  • state_cache: TransposedStateCache with column-first copies of the hot state arrays (refreshed at each spectral solve), or nothing.
source
RRTMGP.RTE.TwoStreamSWRTEType
TwoStreamSWRTE(grid_params::RRTMGPGridParams; cos_zenith, toa_flux, sfc_alb_direct, inc_flux_diffuse, sfc_alb_diffuse)

A high-level RRTMGP data structure storing the optical properties, sources, boundary conditions and fluxes configurations for a 2-stream shortwave simulation.

Fields

  • context: ClimaComms context.
  • op: Optical properties.
  • src: Shortwave source functions.
  • bcs: Shortwave boundary conditions.
  • fluxb: Temporary storage for bandwise calculations.
  • flux: Shortwave fluxes.
  • band_flux: Optional per-band shortwave fluxes (nlev, ncol, n_bnd), or nothing.
  • state_cache: TransposedStateCache with column-first copies of the hot state arrays (refreshed at each spectral solve), or nothing.
source