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

Data Types

interface  delta_scale_2str_kernel
 Delta-scale two-stream optical properties. More...
 
interface  extract_subset
 Subsetting, meaning extracting some portion of the 3D domain. More...
 

Functions/Subroutines

subroutine delta_scale_2str_f_k (ncol, nlay, ngpt, tau, ssa, g, f)
 Delta-scale two-stream optical properties given user-provided value of (f) (forward scattering)
 
subroutine delta_scale_2str_k (ncol, nlay, ngpt, tau, ssa, g)
 Delta-scale assuming forward-scatternig fraction is the square of the asymmetry parameter i.e. (f = g^2)
 
subroutine increment_1scalar_by_1scalar (ncol, nlay, ngpt, tau1, tau2)
 increase one absorption optical depth by a second value
 
subroutine increment_1scalar_by_2stream (ncol, nlay, ngpt, tau1, tau2, ssa2)
 increase absorption optical depth with extinction optical depth (2-stream form)
 
subroutine increment_1scalar_by_nstream (ncol, nlay, ngpt, tau1, tau2, ssa2)
 increase absorption optical depth with extinction optical depth (n-stream form)
 
subroutine increment_2stream_by_1scalar (ncol, nlay, ngpt, tau1, ssa1, tau2)
 increment two-stream optical properties (\tau, \omega_0, g) with absorption optical depth
 
subroutine increment_2stream_by_2stream (ncol, nlay, ngpt, tau1, ssa1, g1, tau2, ssa2, g2)
 increment two-stream optical properties (\tau, \omega_0, g) with a second set
 
subroutine increment_2stream_by_nstream (ncol, nlay, ngpt, nmom2, tau1, ssa1, g1, tau2, ssa2, p2)
 increment two-stream optical properties (\tau, \omega_0, g) with n-stream
 
subroutine increment_nstream_by_1scalar (ncol, nlay, ngpt, tau1, ssa1, tau2)
 increment n-stream optical properties (\tau, \omega_0, p) with absorption optical depth
 
subroutine increment_nstream_by_2stream (ncol, nlay, ngpt, nmom1, tau1, ssa1, p1, tau2, ssa2, g2)
 increment n-stream optical properties (\tau, \omega_0, p) with two-stream values
 
subroutine increment_nstream_by_nstream (ncol, nlay, ngpt, nmom1, nmom2, tau1, ssa1, p1, tau2, ssa2, p2)
 increment one set of n-stream optical properties with another set
 
subroutine inc_1scalar_by_1scalar_bybnd (ncol, nlay, ngpt, tau1, tau2, nbnd, gpt_lims)
 increase one absorption optical depth defined on g-points by a second value defined on bands
 
subroutine inc_1scalar_by_2stream_bybnd (ncol, nlay, ngpt, tau1, tau2, ssa2, nbnd, gpt_lims)
 increase absorption optical depth defined on g-points with extinction optical depth (2-stream form) defined on bands
 
subroutine inc_1scalar_by_nstream_bybnd (ncol, nlay, ngpt, tau1, tau2, ssa2, nbnd, gpt_lims)
 increase absorption optical depth defined on g-points with extinction optical depth (n-stream form) defined on bands
 
subroutine inc_2stream_by_1scalar_bybnd (ncol, nlay, ngpt, tau1, ssa1, tau2, nbnd, gpt_lims)
 increment two-stream optical properties (\tau, \omega_0, g) defined on g-points with absorption optical depth defined on bands
 
subroutine inc_2stream_by_2stream_bybnd (ncol, nlay, ngpt, tau1, ssa1, g1, tau2, ssa2, g2, nbnd, gpt_lims)
 increment 2-stream optical properties defined on g-points with another set defined on bands
 
subroutine inc_2stream_by_nstream_bybnd (ncol, nlay, ngpt, nmom2, tau1, ssa1, g1, tau2, ssa2, p2, nbnd, gpt_lims)
 increment 2-stream optical properties defined on g-points with n-stream properties set defined on bands
 
subroutine inc_nstream_by_1scalar_bybnd (ncol, nlay, ngpt, tau1, ssa1, tau2, nbnd, gpt_lims)
 increment n-stream optical properties defined on g-points with absorption optical depth defined on bands
 
subroutine inc_nstream_by_2stream_bybnd (ncol, nlay, ngpt, nmom1, tau1, ssa1, p1, tau2, ssa2, g2, nbnd, gpt_lims)
 increment n-stream optical properties defined on g-points with 2-stream properties set defined on bands
 
subroutine inc_nstream_by_nstream_bybnd (ncol, nlay, ngpt, nmom1, nmom2, tau1, ssa1, p1, tau2, ssa2, p2, nbnd, gpt_lims)
 increment n-stream optical properties defined on g-points with a second set defined on bands
 
subroutine extract_subset_dim1_3d (ncol, nlay, ngpt, array_in, cols, cole, array_out)
 Extract a subset from the first dimension (normally columns) of a 3D field. Applicable to most variables e.g. tau, ssa, g.
 
subroutine extract_subset_dim2_4d (nmom, ncol, nlay, ngpt, array_in, cols, cole, array_out)
 Extract a subset from the second dimension (normally columns) of a 4D field. Applicable to phase function moments, where the first dimension is the moment.
 
subroutine extract_subset_absorption_tau (ncol, nlay, ngpt, tau_in, ssa_in, cols, cole, tau_out)
 Extract the absorption optical thickness (\tau_{abs} = 1 - \omega_0 \tau_{ext})
 

Variables

real(wp), parameter, private eps = 3.0_wp*tiny(1.0_wp)
 

Detailed Description

Kernels for arrays of optical properties:

  • delta-scaling
  • adding two sets of properties
  • extracting subsets along the column dimension