11! > @brief Particle track event buffer module.
22! !
3- ! ! Defines the abstract ParticleTrackEventBufferType, the TrackRecordType
3+ ! ! Defines the abstract ParticleTrackEventBufferType, the ParticleTrackRecordType
44! ! and ParticleTrackFileType data types, and the save_record helper used
55! ! by concrete buffer implementations.
66! <
@@ -11,21 +11,13 @@ module ParticleTrackEventBufferModule
1111
1212 implicit none
1313
14- character (len=* ), parameter , public :: TRACKHEADER = &
15- ' kper,kstp,imdl,iprp,irpt,ilay,icell,izone,&
16- &istatus,ireason,trelease,t,x,y,z,name'
17-
18- character (len=* ), parameter , public :: TRACKDTYPES = &
19- ' <i4,<i4,<i4,<i4,<i4,<i4,<i4,<i4,&
20- &<i4,<i4,<f8,<f8,<f8,<f8,<f8,|S40'
21-
2214 ! > @brief Flat record of a particle track event.
23- type :: TrackRecordType
15+ type :: ParticleTrackRecordType
2416 integer (I4B) :: kper, kstp, imdl, iprp, irpt, ilay, icu, izone
2517 integer (I4B) :: istatus, ireason
2618 real (DP) :: trelease, ttrack, x, y, z
2719 character (len= 40 ) :: name
28- end type TrackRecordType
20+ end type ParticleTrackRecordType
2921
3022 ! > @brief Output file containing all or some particle pathlines.
3123 ! !
@@ -52,9 +44,9 @@ module ParticleTrackEventBufferModule
5244
5345 abstract interface
5446 subroutine buffer_append (this , rec )
55- import ParticleTrackEventBufferType, TrackRecordType
47+ import ParticleTrackEventBufferType, ParticleTrackRecordType
5648 class(ParticleTrackEventBufferType) :: this
57- type (TrackRecordType ), intent (in ) :: rec
49+ type (ParticleTrackRecordType ), intent (in ) :: rec
5850 end subroutine buffer_append
5951
6052 subroutine buffer_flush (this , files )
@@ -79,7 +71,7 @@ end subroutine buffer_init
7971 ! > @brief Save an event record to a binary or CSV file.
8072 subroutine save_record (iun , rec , csv )
8173 integer (I4B), intent (in ) :: iun
82- type (TrackRecordType ), intent (in ) :: rec
74+ type (ParticleTrackRecordType ), intent (in ) :: rec
8375 logical (LGP), intent (in ) :: csv
8476
8577 if (csv) then
0 commit comments