Store all bands still open at final model.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tracer_t), | intent(inout) | :: | tr |
Tracer. |
||
| type(bandset_t), | intent(inout) | :: | bs |
Receives stored bands. |
subroutine tracer_flush(tr, bs) !! Store all bands still open at final model. ! Arguments type(tracer_t), intent(inout) :: tr !! Tracer. type(bandset_t), intent(inout) :: bs !! Receives stored bands. integer(int32) :: b ! stored in slot order do b = 1, tr%maxbands if (tr%opn(b)) call tracer_close(tr, bs, b) end do end subroutine tracer_flush