inc_2stream_by_1scalar_bybnd Interface

interface

increment two-stream optical properties defined on g-points with absorption optical depth defined on bands


public pure subroutine inc_2stream_by_1scalar_bybnd(ncol, nlay, ngpt, tau1, ssa1, tau2, 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

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(in), dimension(ncol,nlay,nbnd):: tau2

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