Greedy band tracer.
Turns per-model (ylo, yhi) intervals of one feature (convection type or energy contour
level) into few bands over contiguous model runs; closed bands go to a bandset_t.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public | :: | maxbands | = | 0 |
Number of band slots. |
|
| integer(kind=int32), | public, | allocatable | :: | i0(:) |
First and last model of the band in each slot. |
||
| integer(kind=int32), | public, | allocatable | :: | i1(:) |
First and last model of the band in each slot. |
||
| logical, | public, | allocatable | :: | opn(:) |
Slot holds an open band; band was extended this step. |
||
| logical, | public, | allocatable | :: | ext(:) |
Slot holds an open band; band was extended this step. |
||
| real(kind=real64), | public, | allocatable | :: | ylo(:,:) |
Lower and upper interface of each band, |
||
| real(kind=real64), | public, | allocatable | :: | yhi(:,:) |
Lower and upper interface of each band, |
type :: tracer_t !! Greedy band tracer. !! !! Turns per-model `(ylo, yhi)` intervals of one feature (convection type or energy contour !! level) into few bands over contiguous model runs; closed bands go to a `bandset_t`. integer(int32) :: maxbands = 0 !! Number of band slots. integer(int32), allocatable :: i0(:), i1(:) !! First and last model of the band in each slot. logical, allocatable :: opn(:), ext(:) !! Slot holds an open band; band was extended this step. real(real64), allocatable :: ylo(:, :), yhi(:, :) !! Lower and upper interface of each band, `(slot, model)`. end type tracer_t