72 integer(I4B),
public :: iun = 0
73 logical(LGP),
public :: csv = .false.
74 integer(I4B),
public :: iprp = -1
78 'kper,kstp,imdl,iprp,irpt,ilay,icell,izone,&
79 &istatus,ireason,trelease,t,x,y,z,name'
82 '<i4,<i4,<i4,<i4,<i4,<i4,<i4,<i4,&
83 &<i4,<i4,<f8,<f8,<f8,<f8,<f8,|S40'
88 subroutine save_record(iun, particle, kper, kstp, reason, csv)
90 integer(I4B),
intent(in) :: iun
92 integer(I4B),
intent(in) :: kper
93 integer(I4B),
intent(in) :: kstp
94 integer(I4B),
intent(in) :: reason
95 logical(LGP),
intent(in) :: csv
98 integer(I4B) :: status
101 call particle%get_model_coords(x, y, z)
104 if (particle%istatus .lt. 0)
then
107 status = particle%istatus
111 write (iun,
'(*(G0,:,","))') &
127 trim(adjustl(particle%name))
This module contains simulation constants.
real(dp), parameter dpio180
real constant
real(dp), parameter dzero
real constant zero
subroutine, public transform(xin, yin, zin, xout, yout, zout, xorigin, yorigin, zorigin, sinrot, cosrot, invert)
Apply a 3D translation and optional 2D rotation to coordinates.
This module defines variable data types.
subroutine, public save_record(iun, particle, kper, kstp, reason, csv)
Save a particle track record to a binary or CSV file.
character(len= *), parameter, public trackdtypes
character(len= *), parameter, public trackheader
Particle tracked by the PRT model.
Output file containing all or some particle pathlines.