MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
particlemodule::particletype Type Reference

A particle tracked by the PRT model. More...

Collaboration diagram for particlemodule::particletype:
Collaboration graph

Public Member Functions

procedure, public destroy => destroy_particle
 
procedure, public get_model_coords
 
procedure, public load_from_store
 
procedure, public transform => transform_coords
 

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), dimension(:), allocatable, public idomain
 tracking domain hierarchy More...
 
integer(i4b), dimension(:), allocatable, public iboundary
 tracking domain boundaries More...
 
integer(i4b), public icu
 user cell (node) number More...
 
integer(i4b), public ilay
 grid layer More...
 
integer(i4b), public izone
 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...
 
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...
 

Detailed Description

Record-type used mainly for convenience to shuffle data into and out of storage as tracking proceeds.

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 32 of file Particle.f90.

Member Function/Subroutine Documentation

◆ destroy()

procedure, public particlemodule::particletype::destroy

Definition at line 64 of file Particle.f90.

◆ get_model_coords()

procedure, public particlemodule::particletype::get_model_coords

Definition at line 65 of file Particle.f90.

◆ load_from_store()

procedure, public particlemodule::particletype::load_from_store

Definition at line 66 of file Particle.f90.

◆ transform()

procedure, public particlemodule::particletype::transform

Definition at line 67 of file Particle.f90.

Member Data Documentation

◆ advancing

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

Definition at line 62 of file Particle.f90.

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

◆ cosrot

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

Definition at line 60 of file Particle.f90.

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

◆ iboundary

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

Definition at line 45 of file Particle.f90.

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

◆ icu

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

Definition at line 46 of file Particle.f90.

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

◆ idomain

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

Definition at line 44 of file Particle.f90.

44  integer(I4B), allocatable, public :: idomain(:) !< tracking domain hierarchy

◆ ilay

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

Definition at line 47 of file Particle.f90.

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

◆ imdl

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

Definition at line 36 of file Particle.f90.

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

◆ ip

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

Definition at line 39 of file Particle.f90.

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

◆ iprp

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

Definition at line 37 of file Particle.f90.

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

◆ irpt

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

Definition at line 38 of file Particle.f90.

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

◆ istatus

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

Definition at line 49 of file Particle.f90.

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

◆ istopweaksink

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

Definition at line 41 of file Particle.f90.

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

◆ istopzone

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

Definition at line 42 of file Particle.f90.

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

◆ izone

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

Definition at line 48 of file Particle.f90.

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

◆ name

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

Definition at line 35 of file Particle.f90.

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

◆ sinrot

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

Definition at line 59 of file Particle.f90.

59  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 61 of file Particle.f90.

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

◆ trelease

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

Definition at line 53 of file Particle.f90.

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

◆ tstop

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

Definition at line 54 of file Particle.f90.

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

◆ ttrack

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

Definition at line 55 of file Particle.f90.

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

◆ x

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

Definition at line 50 of file Particle.f90.

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

◆ xorigin

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

Definition at line 56 of file Particle.f90.

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

◆ y

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

Definition at line 51 of file Particle.f90.

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

◆ yorigin

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

Definition at line 57 of file Particle.f90.

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

◆ z

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

Definition at line 52 of file Particle.f90.

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

◆ zorigin

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

Definition at line 58 of file Particle.f90.

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

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