MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
ExitSolution.f90
Go to the documentation of this file.
2
3 use kindmodule, only: i4b, dp, lgp
4 use constantsmodule, only: dzero
5
6 implicit none
7
8 !> @brief Exit status codes
9 enum, bind(C)
10 enumerator :: ok_exit = 0 !< exit found using velocity interpolation
11 ! below only used for linear solution
12 enumerator :: ok_exit_constant = 1 !< exit found, constant velocity
13 enumerator :: no_exit_stationary = 2 !< no exit, zero velocity
14 enumerator :: no_exit_no_outflow = 3 !< no exit, no outflow
15 end enum
16
17 !> @brief Base type for exit solutions
19 integer(I4B) :: status = -1 !< domain exit status code
20 integer(I4B) :: iboundary = 0 !< boundary number
21 real(dp) :: dt = 1.0d+20 !< time to exit
22 end type exitsolutiontype
23
24 !> @brief Linear velocity interpolation exit solution
26 real(dp) :: v = dzero !< particle velocity
27 real(dp) :: dvdx = dzero !< velocity gradient
29
30end module exitsolutionmodule
This module contains simulation constants.
Definition Constants.f90:9
real(dp), parameter dzero
real constant zero
Definition Constants.f90:65
@ ok_exit_constant
exit found, constant velocity
@ ok_exit
exit found using velocity interpolation
@ no_exit_stationary
no exit, zero velocity
@ no_exit_no_outflow
no exit, no outflow
This module defines variable data types.
Definition kind.f90:8
Base type for exit solutions.
Linear velocity interpolation exit solution.