11 integer(I4B) :: kper, kstp, imdl, iprp, irpt, ilay, icu, izone
12 integer(I4B) :: istatus, ireason
13 real(dp) :: trelease, ttrack, x, y, z
14 character(len=40) :: name
24 integer(I4B),
public :: iun = 0
25 logical(LGP),
public :: csv = .false.
26 integer(I4B),
public :: iprp = -1
31 integer(I4B) :: nrecords = 0
68 integer(I4B),
intent(in) :: iun
70 logical(LGP),
intent(in) :: csv
73 write (iun,
'(*(G0,:,","))') &
74 rec%kper, rec%kstp, rec%imdl, rec%iprp, rec%irpt, &
75 rec%ilay, rec%icu, rec%izone, rec%istatus, rec%ireason, &
76 rec%trelease, rec%ttrack, rec%x, rec%y, rec%z, trim(rec%name)
79 rec%kper, rec%kstp, rec%imdl, rec%iprp, rec%irpt, &
80 rec%ilay, rec%icu, rec%izone, rec%istatus, rec%ireason, &
81 rec%trelease, rec%ttrack, rec%x, rec%y, rec%z, rec%name
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.
subroutine buffer_init(this)
Event buffering strategy.
Output file containing all or some particle pathlines.
Flat record of a particle track event.