MODFLOW 6
version 6.7.0.dev2
USGS Modular Hydrologic Model
Main Page
Modules
Data Types List
Files
File List
File Members
FeatExitEvent.f90
Go to the documentation of this file.
1
module
featexiteventmodule
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
:
particleeventtype
,
featexit
7
implicit none
8
9
private
10
public
::
featexiteventtype
11
12
type
,
extends
(
particleeventtype
) ::
featexiteventtype
13
contains
14
procedure
::
get_code
15
procedure
::
get_verb
16
procedure
::
get_text
17
end type
featexiteventtype
18
19
contains
20
21
function
get_code
(this)
result
(code)
22
class
(
featexiteventtype
),
intent(in)
:: this
23
integer(I4B)
:: code
24
code =
featexit
25
end function
get_code
26
27
function
get_verb
(this)
result
(verb)
28
class
(
featexiteventtype
),
intent(in)
:: this
29
character(len=:)
,
allocatable
:: verb
30
verb =
'exited grid feature'
31
end function
get_verb
32
33
function
get_text
(this)
result
(text)
34
class
(
featexiteventtype
),
intent(in)
:: this
35
character(len=:)
,
allocatable
:: text
36
character(len=LENHUGELINE)
:: temp
37
38
write
(temp,
'(*(G0))'
) &
39
'Particle from model '
, this%imdl, &
40
', package '
, this%iprp, &
41
', point '
, this%irpt, &
42
', time '
, this%trelease, &
43
' '
//this%get_verb()// &
44
' in layer '
, this%ilay, &
45
', cell '
, this%icu, &
46
', zone '
, this%izone, &
47
' at x '
, this%x, &
48
', y '
, this%y, &
49
', z '
, this%z, &
50
', time '
, this%ttrack, &
51
', period '
, this%kper, &
52
', timestep '
, this%kstp, &
53
' with status '
, this%istatus
54
text = trim(adjustl(temp))
55
end function
get_text
56
57
end module
featexiteventmodule
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
featexiteventmodule::get_verb
character(len=:) function, allocatable get_verb(this)
Definition:
FeatExitEvent.f90:28
featexiteventmodule::get_text
character(len=:) function, allocatable get_text(this)
Definition:
FeatExitEvent.f90:34
featexiteventmodule::get_code
integer(i4b) function get_code(this)
Definition:
FeatExitEvent.f90:22
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
featexiteventmodule::featexiteventtype
Definition:
FeatExitEvent.f90:12
particleeventmodule::particleeventtype
Base type for particle events.
Definition:
ParticleEvent.f90:35
particlemodule::particletype
Particle tracked by the PRT model.
Definition:
Particle.f90:56
src
Solution
ParticleTracker
Particle
Events
FeatExitEvent.f90
Generated on Thu Aug 28 2025 23:49:27 for MODFLOW 6 by
1.9.1