Store band in slot b to bs and free slot.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tracer_t), | intent(inout) | :: | tr |
Tracer. |
||
| type(bandset_t), | intent(inout) | :: | bs |
Receives band. |
||
| integer(kind=int32), | intent(in) | :: | b |
Slot to close. |
subroutine tracer_close(tr, bs, b) !! Store band in slot `b` to `bs` and free slot. ! Arguments type(tracer_t), intent(inout) :: tr !! Tracer. type(bandset_t), intent(inout) :: bs !! Receives band. integer(int32), intent(in) :: b !! Slot to close. call bandset_append(bs, tr%i0(b), tr%i1(b), & tr%ylo(b, tr%i0(b):tr%i1(b)), tr%yhi(b, tr%i0(b):tr%i1(b))) tr%opn(b) = .false. end subroutine tracer_close