ecache_t Derived Type

type, private :: ecache_t

Band cache of one energy layer.

One bandset per gain level and per loss level.


Components

Type Visibility Attributes Name Initial
logical, public :: valid = .false.

Bands traced.

integer(kind=int32), public :: gmax = 0

Highest gain and loss levels, loss as positive number.

integer(kind=int32), public :: lmax = 0

Highest gain and loss levels, loss as positive number.

type(bandset_t), public, allocatable :: gain(:)

Bands of each gain level, gain(1:gmax), and each loss level, loss(1:lmax).

type(bandset_t), public, allocatable :: loss(:)

Bands of each gain level, gain(1:gmax), and each loss level, loss(1:lmax).


Source Code

   type :: ecache_t
      !! Band cache of one energy layer.
      !!
      !! One bandset per gain level and per loss level.
      logical :: valid = .false.
         !! Bands traced.
      integer(int32) :: gmax = 0, lmax = 0
         !! Highest gain and loss levels, loss as positive number.
      type(bandset_t), allocatable :: gain(:), loss(:)
         !! Bands of each gain level, `gain(1:gmax)`, and each loss level, `loss(1:lmax)`.
   end type ecache_t