inc_nstream_by_2stream_bybnd Interface

interface

increment n-stream optical properties defined on g-points with 2-stream properties set defined on bands


public pure subroutine inc_nstream_by_2stream_bybnd(ncol, nlay, ngpt, nmom1, tau1, ssa1, p1, tau2, ssa2, g2, nbnd, gpt_lims) bind(C, name="0")

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: ncol

array sizes

integer, intent(in) :: nlay

array sizes

integer, intent(in) :: ngpt

array sizes

integer, intent(in) :: nmom1

array sizes

real(kind=wp), intent(inout), dimension(ncol,nlay,ngpt):: tau1

optical properties to be modified (defined on g-points)

real(kind=wp), intent(inout), dimension(ncol,nlay,ngpt):: ssa1

optical properties to be modified (defined on g-points)

real(kind=wp), intent(inout), dimension(nmom1, ncol,nlay,ngpt):: p1

moments of the phase function be modified

real(kind=wp), intent(in), dimension(ncol,nlay,nbnd):: tau2

optical properties to be added to original (defined on bands)

real(kind=wp), intent(in), dimension(ncol,nlay,nbnd):: ssa2

optical properties to be added to original (defined on bands)

real(kind=wp), intent(in), dimension(ncol,nlay,nbnd):: g2

optical properties to be added to original (defined on bands)

integer, intent(in) :: nbnd

array sizes

integer, intent(in), dimension(2,nbnd):: gpt_lims

Starting and ending gpoint for each band