tracer_flush Subroutine

public subroutine tracer_flush(tr, bs)

Store all bands still open at final model.

Arguments

Type IntentOptional Attributes Name
type(tracer_t), intent(inout) :: tr

Tracer.

type(bandset_t), intent(inout) :: bs

Receives stored bands.


Source Code

   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