MODFLOW 6  version 6.7.0.dev1
USGS Modular Hydrologic Model
particlemodule::particletype Type Reference

Particle tracked by the PRT model. More...

Collaboration diagram for particlemodule::particletype:
Collaboration graph

Public Member Functions

procedure, public get_model_coords
 
procedure, public transform => transform_coords
 
procedure, public reset_transform
 

Public Attributes

character(len=lenboundname), public name = ''
 optional particle name More...
 
integer(i4b), public imdl
 index of model the particle originated in More...
 
integer(i4b), public iprp
 index of release package the particle is from More...
 
integer(i4b), public irpt
 index of release point the particle is from More...
 
integer(i4b), public ip
 index of particle in the particle list More...
 
integer(i4b), public istopweaksink
 weak sink option (0: do not stop, 1: stop) More...
 
integer(i4b), public istopzone
 stop zone number More...
 
integer(i4b), public idrymeth
 dry tracking method More...
 
integer(i4b), dimension(:), allocatable, public idomain
 tracking domain hierarchy ! TODO: rename to itdomain? idomain More...
 
integer(i4b), dimension(:), allocatable, public iboundary
 tracking domain boundaries More...
 
integer(i4b), public icp
 previous cell number (reduced) More...
 
integer(i4b), public icu
 user cell number More...
 
integer(i4b), public ilay
 grid layer More...
 
integer(i4b), public izone
 current zone number More...
 
integer(i4b), public izp
 previous zone number More...
 
integer(i4b), public istatus
 tracking status More...
 
real(dp), public x
 x coordinate More...
 
real(dp), public y
 y coordinate More...
 
real(dp), public z
 z coordinate More...
 
real(dp), public trelease
 release time More...
 
real(dp), public tstop
 stop time More...
 
real(dp), public ttrack
 time tracked so far More...
 
real(dp), public xorigin
 x origin for coordinate transformation from model to local More...
 
real(dp), public yorigin
 y origin for coordinate transformation from model to local More...
 
real(dp), public zorigin
 z origin for coordinate transformation from model to local More...
 
real(dp), public sinrot
 sine of rotation angle for coordinate transformation from model to local More...
 
real(dp), public cosrot
 cosine of rotation angle for coordinate transformation from model to local More...
 
real(dp), public extol
 tolerance for iterative solution of particle exit location and time in generalized Pollock's method More...
 
logical(lgp), public transformed
 whether coordinates have been transformed from model to local More...
 
logical(lgp), public advancing
 whether particle is still being tracked for current time step More...
 
integer(i4b), public ifrctrn
 whether to force solving the particle with the ternary method More...
 
integer(i4b), public iexmeth
 method for iterative solution of particle exit location and time in generalized Pollock's method More...
 
integer(i4b), public iextend
 whether to extend tracking beyond the end of the simulation More...
 

Detailed Description

Record-type to conveniently shuffle a particle's state to/from storage before/after its trajectory is solved for each time step.

Particle coordinates may be local to the cell or global/model. Routines are provided to convert a particle's global coordinates to/from cell-local coordinates for tracking through cell subdomains.

Particles are identified by composite key, i.e., combinations of properties imdl, iprp, irpt, and trelease. An optional label may be provided, but need not be unique

Definition at line 78 of file Particle.f90.

Member Function/Subroutine Documentation

◆ get_model_coords()

procedure, public particlemodule::particletype::get_model_coords

Definition at line 117 of file Particle.f90.

◆ reset_transform()

procedure, public particlemodule::particletype::reset_transform

Definition at line 119 of file Particle.f90.

◆ transform()

procedure, public particlemodule::particletype::transform

Definition at line 118 of file Particle.f90.

Member Data Documentation

◆ advancing

logical(lgp), public particlemodule::particletype::advancing

Definition at line 112 of file Particle.f90.

112  logical(LGP), public :: advancing !< whether particle is still being tracked for current time step

◆ cosrot

real(dp), public particlemodule::particletype::cosrot

Definition at line 109 of file Particle.f90.

109  real(DP), public :: cosrot !< cosine of rotation angle for coordinate transformation from model to local

◆ extol

real(dp), public particlemodule::particletype::extol

Definition at line 110 of file Particle.f90.

110  real(DP), public :: extol !< tolerance for iterative solution of particle exit location and time in generalized Pollock's method

◆ iboundary

integer(i4b), dimension(:), allocatable, public particlemodule::particletype::iboundary

Definition at line 92 of file Particle.f90.

92  integer(I4B), allocatable, public :: iboundary(:) !< tracking domain boundaries

◆ icp

integer(i4b), public particlemodule::particletype::icp

Definition at line 93 of file Particle.f90.

93  integer(I4B), public :: icp !< previous cell number (reduced)

◆ icu

integer(i4b), public particlemodule::particletype::icu

Definition at line 94 of file Particle.f90.

94  integer(I4B), public :: icu !< user cell number

◆ idomain

integer(i4b), dimension(:), allocatable, public particlemodule::particletype::idomain

Definition at line 91 of file Particle.f90.

91  integer(I4B), allocatable, public :: idomain(:) !< tracking domain hierarchy ! TODO: rename to itdomain? idomain

◆ idrymeth

integer(i4b), public particlemodule::particletype::idrymeth

Definition at line 89 of file Particle.f90.

89  integer(I4B), public :: idrymeth !< dry tracking method

◆ iexmeth

integer(i4b), public particlemodule::particletype::iexmeth

Definition at line 114 of file Particle.f90.

114  integer(I4B), public :: iexmeth !< method for iterative solution of particle exit location and time in generalized Pollock's method

◆ iextend

integer(i4b), public particlemodule::particletype::iextend

Definition at line 115 of file Particle.f90.

115  integer(I4B), public :: iextend !< whether to extend tracking beyond the end of the simulation

◆ ifrctrn

integer(i4b), public particlemodule::particletype::ifrctrn

Definition at line 113 of file Particle.f90.

113  integer(I4B), public :: ifrctrn !< whether to force solving the particle with the ternary method

◆ ilay

integer(i4b), public particlemodule::particletype::ilay

Definition at line 95 of file Particle.f90.

95  integer(I4B), public :: ilay !< grid layer

◆ imdl

integer(i4b), public particlemodule::particletype::imdl

Definition at line 82 of file Particle.f90.

82  integer(I4B), public :: imdl !< index of model the particle originated in

◆ ip

integer(i4b), public particlemodule::particletype::ip

Definition at line 85 of file Particle.f90.

85  integer(I4B), public :: ip !< index of particle in the particle list

◆ iprp

integer(i4b), public particlemodule::particletype::iprp

Definition at line 83 of file Particle.f90.

83  integer(I4B), public :: iprp !< index of release package the particle is from

◆ irpt

integer(i4b), public particlemodule::particletype::irpt

Definition at line 84 of file Particle.f90.

84  integer(I4B), public :: irpt !< index of release point the particle is from

◆ istatus

integer(i4b), public particlemodule::particletype::istatus

Definition at line 98 of file Particle.f90.

98  integer(I4B), public :: istatus !< tracking status

◆ istopweaksink

integer(i4b), public particlemodule::particletype::istopweaksink

Definition at line 87 of file Particle.f90.

87  integer(I4B), public :: istopweaksink !< weak sink option (0: do not stop, 1: stop)

◆ istopzone

integer(i4b), public particlemodule::particletype::istopzone

Definition at line 88 of file Particle.f90.

88  integer(I4B), public :: istopzone !< stop zone number

◆ izone

integer(i4b), public particlemodule::particletype::izone

Definition at line 96 of file Particle.f90.

96  integer(I4B), public :: izone !< current zone number

◆ izp

integer(i4b), public particlemodule::particletype::izp

Definition at line 97 of file Particle.f90.

97  integer(I4B), public :: izp !< previous zone number

◆ name

character(len=lenboundname), public particlemodule::particletype::name = ''

Definition at line 81 of file Particle.f90.

81  character(len=LENBOUNDNAME), public :: name = '' !< optional particle name

◆ sinrot

real(dp), public particlemodule::particletype::sinrot

Definition at line 108 of file Particle.f90.

108  real(DP), public :: sinrot !< sine of rotation angle for coordinate transformation from model to local

◆ transformed

logical(lgp), public particlemodule::particletype::transformed

Definition at line 111 of file Particle.f90.

111  logical(LGP), public :: transformed !< whether coordinates have been transformed from model to local

◆ trelease

real(dp), public particlemodule::particletype::trelease

Definition at line 102 of file Particle.f90.

102  real(DP), public :: trelease !< release time

◆ tstop

real(dp), public particlemodule::particletype::tstop

Definition at line 103 of file Particle.f90.

103  real(DP), public :: tstop !< stop time

◆ ttrack

real(dp), public particlemodule::particletype::ttrack

Definition at line 104 of file Particle.f90.

104  real(DP), public :: ttrack !< time tracked so far

◆ x

real(dp), public particlemodule::particletype::x

Definition at line 99 of file Particle.f90.

99  real(DP), public :: x !< x coordinate

◆ xorigin

real(dp), public particlemodule::particletype::xorigin

Definition at line 105 of file Particle.f90.

105  real(DP), public :: xorigin !< x origin for coordinate transformation from model to local

◆ y

real(dp), public particlemodule::particletype::y

Definition at line 100 of file Particle.f90.

100  real(DP), public :: y !< y coordinate

◆ yorigin

real(dp), public particlemodule::particletype::yorigin

Definition at line 106 of file Particle.f90.

106  real(DP), public :: yorigin !< y origin for coordinate transformation from model to local

◆ z

real(dp), public particlemodule::particletype::z

Definition at line 101 of file Particle.f90.

101  real(DP), public :: z !< z coordinate

◆ zorigin

real(dp), public particlemodule::particletype::zorigin

Definition at line 107 of file Particle.f90.

107  real(DP), public :: zorigin !< z origin for coordinate transformation from model to local

The documentation for this type was generated from the following file: