20 integer(I4B) :: iun = 0
34 open (newunit=this%iun, status=
'scratch', form=
'unformatted', &
35 access=
'sequential', iostat=istat)
37 call pstop(1,
'failed to open scratch track buffer file')
44 this%nrecords = this%nrecords + 1
54 do n = 1, this%nrecords
57 if (files(i)%iun > 0 .and. &
58 (files(i)%iprp == -1 .or. files(i)%iprp == rec%iprp)) &
74 if (this%iun > 0)
then
subroutine pstop(status, message)
Stop the program, optionally specifying an error status code.
This module defines variable data types.
Particle event buffering strategies.
subroutine save_record(iun, rec, csv)
Save an event record to a binary or CSV file.
Scratch-file particle event buffer module.
subroutine scratch_destroy(this)
subroutine scratch_append(this, rec)
subroutine scratch_discard(this)
subroutine scratch_init(this)
subroutine scratch_flush(this, files)
Event buffering strategy.
Output file containing all or some particle pathlines.
Flat record of a particle track event.
Scratch-file particle event buffer. Records are written to an unformatted sequential scratch file tha...