MODFLOW 6
version 6.7.0.dev2
USGS Modular Hydrologic Model
Main Page
Modules
Data Types List
Files
File List
File Members
CellExitEvent.f90
Go to the documentation of this file.
1
module
cellexiteventmodule
2
use
kindmodule
,
only
: dp, i4b, lgp
3
use
constantsmodule
,
only
:
lenhugeline
4
use
errorutilmodule
,
only
:
pstop
5
use
particlemodule
,
only
:
particletype
6
use
particleeventmodule
,
only
:
featexit
7
use
featexiteventmodule
,
only
:
featexiteventtype
8
implicit none
9
10
private
11
public
::
cellexiteventtype
12
13
type
,
extends
(
featexiteventtype
) ::
cellexiteventtype
14
integer(I4B)
:: exit_face
! face through which the particle exited
15
contains
16
procedure
::
get_code
17
procedure
::
get_verb
18
procedure
::
get_text
19
end type
cellexiteventtype
20
21
contains
22
23
function
get_code
(this)
result
(code)
24
class
(
cellexiteventtype
),
intent(in)
:: this
25
integer(I4B)
:: code
26
code =
featexit
27
end function
get_code
28
29
function
get_verb
(this)
result
(verb)
30
class
(
cellexiteventtype
),
intent(in)
:: this
31
character(len=:)
,
allocatable
:: verb
32
verb =
'exited cell'
33
end function
get_verb
34
35
function
get_text
(this)
result
(text)
36
class
(
cellexiteventtype
),
intent(in)
:: this
37
character(len=:)
,
allocatable
:: text
38
character(len=LENHUGELINE)
:: temp
39
40
write
(temp,
'(*(G0))'
) &
41
'Particle from model '
, this%imdl, &
42
', package '
, this%iprp, &
43
', point '
, this%irpt, &
44
', time '
, this%trelease, &
45
' '
//this%get_verb()// &
46
' in layer '
, this%ilay, &
47
', cell '
, this%icu, &
48
', zone '
, this%izone, &
49
' through face '
, this%exit_face, &
50
' at x '
, this%x, &
51
', y '
, this%y, &
52
', z '
, this%z, &
53
', time '
, this%ttrack, &
54
', period '
, this%kper, &
55
', timestep '
, this%kstp, &
56
' with status '
, this%istatus
57
text = trim(adjustl(temp))
58
end function
get_text
59
60
end module
cellexiteventmodule
cellexiteventmodule
Definition:
CellExitEvent.f90:1
cellexiteventmodule::get_code
integer(i4b) function get_code(this)
Definition:
CellExitEvent.f90:24
cellexiteventmodule::get_verb
character(len=:) function, allocatable get_verb(this)
Definition:
CellExitEvent.f90:30
cellexiteventmodule::get_text
character(len=:) function, allocatable get_text(this)
Definition:
CellExitEvent.f90:36
constantsmodule
This module contains simulation constants.
Definition:
Constants.f90:9
constantsmodule::lenhugeline
integer(i4b), parameter lenhugeline
maximum length of a huge line
Definition:
Constants.f90:16
errorutilmodule
Definition:
ErrorUtil.f90:1
errorutilmodule::pstop
subroutine pstop(status, message)
Stop the program, optionally specifying an error status code.
Definition:
ErrorUtil.f90:24
featexiteventmodule
Definition:
FeatExitEvent.f90:1
kindmodule
This module defines variable data types.
Definition:
kind.f90:8
particleeventmodule
Definition:
ParticleEvent.f90:1
particleeventmodule::featexit
@, public featexit
particle exited a grid feature
Definition:
ParticleEvent.f90:24
particlemodule
Definition:
Particle.f90:1
cellexiteventmodule::cellexiteventtype
Definition:
CellExitEvent.f90:13
featexiteventmodule::featexiteventtype
Definition:
FeatExitEvent.f90:12
particlemodule::particletype
Particle tracked by the PRT model.
Definition:
Particle.f90:56
src
Solution
ParticleTracker
Particle
Events
CellExitEvent.f90
Generated on Thu Aug 28 2025 23:49:27 for MODFLOW 6 by
1.9.1