Skip to content

Commit d413c50

Browse files
committed
rename to TrackRecordType
1 parent 4278c86 commit d413c50

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

src/Solution/ParticleTracker/Particle/ParticleTracks.f90

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@ module ParticleTracksModule
4848
'<i4,<i4,<i4,<i4,<i4,<i4,<i4,<i4,&
4949
&<i4,<i4,<f8,<f8,<f8,<f8,<f8,|S40'
5050

51-
!> @brief Flat record of a single particle track event.
51+
!> @brief Flat record of a particle track event.
5252

53-
!<
54-
type :: PendingTrackEventType
53+
type :: TrackRecordType
5554
integer(I4B) :: kper, kstp, imdl, iprp, irpt, ilay, icu, izone
5655
integer(I4B) :: istatus, ireason
5756
real(DP) :: trelease, ttrack, x, y, z
5857
character(len=40) :: name
59-
end type PendingTrackEventType
58+
end type TrackRecordType
6059

6160
!> @brief Output file containing all or some particle pathlines.
6261
!!
@@ -97,7 +96,7 @@ module ParticleTracksModule
9796
integer(I4B), public :: ntrackfiles !< number of track files
9897
type(ParticleTrackFileType), public, allocatable :: files(:) !< track files
9998
type(ParticleTrackEventSelectionType), public :: selected !< event selection
100-
type(PendingTrackEventType), public, allocatable :: pending(:) !< buffered events
99+
type(TrackRecordType), public, allocatable :: pending(:) !< buffered events
101100
integer(I4B), public :: npending = 0 !< number of buffered events
102101
contains
103102
procedure, public :: init_file
@@ -245,8 +244,8 @@ subroutine buffer_event(this, particle, event)
245244
type(ParticleType), pointer, intent(in) :: particle
246245
class(ParticleEventType), pointer, intent(in) :: event
247246
! local
248-
type(PendingTrackEventType) :: rec
249-
type(PendingTrackEventType), allocatable :: tmp(:)
247+
type(TrackRecordType) :: rec
248+
type(TrackRecordType), allocatable :: tmp(:)
250249

251250
rec%kper = event%kper; rec%kstp = event%kstp
252251
rec%imdl = event%imdl; rec%iprp = event%iprp
@@ -278,7 +277,7 @@ subroutine flush_buffer(this)
278277
class(ParticleTracksType) :: this
279278
! local
280279
integer(I4B) :: n, i
281-
type(PendingTrackEventType) :: rec
280+
type(TrackRecordType) :: rec
282281
type(ParticleTrackFileType) :: file
283282

284283
do n = 1, this%npending
@@ -308,7 +307,7 @@ end subroutine discard_buffer
308307
subroutine write_pending_event(iun, rec, csv)
309308
! dummy
310309
integer(I4B), intent(in) :: iun
311-
type(PendingTrackEventType), intent(in) :: rec
310+
type(TrackRecordType), intent(in) :: rec
312311
logical(LGP), intent(in) :: csv
313312

314313
if (csv) then

0 commit comments

Comments
 (0)