MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
Constants.f90 File Reference

Go to the source code of this file.

Modules

module  constantsmodule
 This module contains simulation constants.

Enumerations

enum  { constantsmodule::undefined = 0 , constantsmodule::stepwise = 1 , constantsmodule::linear = 2 , constantsmodule::linearend = 3 }
 enumerator used with TimeSeriesType More...
enum  {
  constantsmodule::disundef = 0 , constantsmodule::dis = 1 , constantsmodule::disv = 2 , constantsmodule::disu = 3 ,
  constantsmodule::dis1d = 101 , constantsmodule::disv1d = 102 , constantsmodule::disu1d = 103 , constantsmodule::dis2d = 201 ,
  constantsmodule::disv2d = 202 , constantsmodule::disu2d = 203
}
 enumerator associated with Discretization types More...
enum  { constantsmodule::tableft = 0 , constantsmodule::tabcenter = 1 , constantsmodule::tabright = 2 }
 enumerator used with table objects More...
enum  { constantsmodule::tabstring = 0 , constantsmodule::tabucstring = 1 , constantsmodule::tabinteger = 2 , constantsmodule::tabreal = 3 }
 enumerator used to define table column data type More...
enum  { constantsmodule::vsummary = 0 , constantsmodule::vall = 1 , constantsmodule::vdebug = 2 }
 enumerator used to define output option More...
enum  { constantsmodule::osundef = 0 , constantsmodule::oslinux = 1 , constantsmodule::osmac = 2 , constantsmodule::oswin = 3 }
 enumerator that defines the operating system More...
enum  { constantsmodule::mvalidate = 0 , constantsmodule::mnormal = 1 , constantsmodule::mrun = 2 }
 enumerator that defines the simulation mode More...
enum  { constantsmodule::cunknown = 0 , constantsmodule::cgfortran = 1 , constantsmodule::cintel = 3 , constantsmodule::ccrayftn = 3 }
 enumerator that defines the compiler More...
enum  { constantsmodule::c3d_vertical = 0 , constantsmodule::c3d_horizontal = 1 , constantsmodule::c3d_staggered = 2 }
 enumerator that defines the cell connection type More...

Variables

integer(i4b), parameter constantsmodule::iuserformatstrip = -99
 default user format strip
integer(i4b), parameter constantsmodule::iuserformatwrap = 99
 default user format wrap
integer(i4b), parameter constantsmodule::lenbigline = 5000
 maximum length of a big line
integer(i4b), parameter constantsmodule::lenhugeline = 50000
 maximum length of a huge line
integer(i4b), parameter constantsmodule::lenvarname = 16
 maximum length of a variable name
integer(i4b), parameter constantsmodule::lencomponentname = 16
 maximum length of a component name
integer(i4b), parameter constantsmodule::lencontextname = 16
 maximum length of a memory manager context
integer(i4b), parameter constantsmodule::lenaname = 24
 maximum length of the header text for an array
integer(i4b), parameter constantsmodule::lensolutionname = LENCOMPONENTNAME
 maximum length of the solution name
integer(i4b), parameter constantsmodule::lenmodelname = LENCOMPONENTNAME
 maximum length of the model name
integer(i4b), parameter constantsmodule::lenpackagename = LENCOMPONENTNAME
 maximum length of the package name
integer(i4b), parameter constantsmodule::lenexchangename = LENCOMPONENTNAME
 maximum length of the exchange name
integer(i4b), parameter constantsmodule::lenbudrowlabel = 2 * LENPACKAGENAME + 1
 maximum length of the rowlabel string used in the budget table
integer(i4b), parameter constantsmodule::lenmemseparator = 1
 maximum length of the memory path separator used, currently a '/'
integer(i4b), parameter constantsmodule::lenmempath = LENCONTEXTNAME + 2 * LENCOMPONENTNAME + 2 * LENMEMSEPARATOR
 maximum length of the memory path
integer(i4b), parameter constantsmodule::lenmemaddress = LENMEMPATH + LENMEMSEPARATOR + LENVARNAME
 maximum length of the full memory address, including variable name
integer(i4b), parameter constantsmodule::lenauxname = 16
 maximum length of a aux variable
integer(i4b), parameter constantsmodule::lenboundname = 40
 maximum length of a bound name
integer(i4b), parameter constantsmodule::lenbudtxt = 16
 maximum length of a budget component names
integer(i4b), parameter constantsmodule::lenpackagetype = 7
 maximum length of a package type (DIS6, SFR6, CSUB6, etc.)
integer(i4b), parameter constantsmodule::lenftype = 5
 maximum length of a package type (DIS, WEL, OC, etc.)
integer(i4b), parameter constantsmodule::lenobsname = 40
 maximum length of a observation name
integer(i4b), parameter constantsmodule::lenobstype = 30
 maximum length of a observation type (CONTINUOUS)
integer(i4b), parameter constantsmodule::lentimeseriesname = LENOBSNAME
 maximum length of a time series name
integer(i4b), parameter constantsmodule::lentimeseriestext = 16
 maximum length of a time series text
integer(i4b), parameter constantsmodule::lendatetime = 30
 maximum length of a date time string
integer(i4b), parameter constantsmodule::linelength = 300
 maximum length of a standard line
integer(i4b), parameter constantsmodule::lenlistlabel = 500
 maximum length of a llist label
integer(i4b), parameter constantsmodule::maxcharlen = max(1000, LENBIGLINE)
 maximum length of char string
integer(i4b), parameter constantsmodule::maxobstypes = 100
 maximum number of observation types
integer(i4b), parameter constantsmodule::namedboundflag = -9
 named bound flag
integer(i4b), parameter constantsmodule::lenpakloc = 34
 maximum length of a package location
integer(i4b), parameter constantsmodule::izero = 0
 integer constant zero
integer(i4b), parameter constantsmodule::iwetlake = 10000
 integer constant for a dry lake
integer(i4b), parameter constantsmodule::maxadpit = 100
 maximum advanced package Newton-Raphson iterations
integer(i4b), parameter constantsmodule::iuoc = 999
 open/close file unit number
integer(i4b), parameter constantsmodule::iustart = 1000
 starting file unit number
integer(i4b), parameter constantsmodule::iulast = 10000
 maximum file unit number (this allows for 9000 open files)
integer(i4b), parameter, public constantsmodule::maxmemrank = 3
 maximum memory manager length (up to 3-dimensional arrays)
integer(i4b), parameter, public constantsmodule::lenmemtype = 50
 maximum length of a memory manager type
real(dp), parameter constantsmodule::dzero = 0.0_DP
 real constant zero
real(dp), parameter constantsmodule::dquarter = 0.25_DP
 real constant 1/3
real(dp), parameter constantsmodule::donethird = 1.0_DP / 3.0_DP
 real constant 1/3
real(dp), parameter constantsmodule::dhalf = 0.5_DP
 real constant 1/2
real(dp), parameter constantsmodule::dp6 = 0.6_DP
 real constant 3/5
real(dp), parameter constantsmodule::dtwothirds = 2.0_DP / 3.0_DP
 real constant 2/3
real(dp), parameter constantsmodule::dp7 = 0.7_DP
 real constant 7/10
real(dp), parameter constantsmodule::dp9 = 0.9_DP
 real constant 9/10
real(dp), parameter constantsmodule::dp99 = 0.99_DP
 real constant 99/100
real(dp), parameter constantsmodule::dp999 = 0.999_DP
 real constant 999/1000
real(dp), parameter constantsmodule::done = 1.0_DP
 real constant 1
real(dp), parameter constantsmodule::d1p1 = 1.1_DP
 real constant 1.1
real(dp), parameter constantsmodule::dfivethirds = 5.0_DP / 3.0_DP
 real constant 5/3
real(dp), parameter constantsmodule::dtwo = 2.0_DP
 real constant 2
real(dp), parameter constantsmodule::dthree = 3.0_DP
 real constant 3
real(dp), parameter constantsmodule::dfour = 4.0_DP
 real constant 4
real(dp), parameter constantsmodule::dsix = 6.0_DP
 real constant 6
real(dp), parameter constantsmodule::deight = 8.0_DP
 real constant 8
real(dp), parameter constantsmodule::dten = 1.0e1_DP
 real constant 10
real(dp), parameter constantsmodule::dsixty = 6.0e1_DP
 real constant 60
real(dp), parameter constantsmodule::dhundred = 1.0e2_DP
 real constant 100
real(dp), parameter constantsmodule::dep3 = 1.0e3_DP
 real constant 1000
real(dp), parameter constantsmodule::dep6 = 1.0e6_DP
 real constant 1000000
real(dp), parameter constantsmodule::dep9 = 1.0e9_DP
 real constant 1e9
real(dp), parameter constantsmodule::dep20 = 1.0e20_DP
 real constant 1e20
real(dp), parameter constantsmodule::dhnoflo = 1.e30_DP
 real no flow constant
real(dp), parameter constantsmodule::dhdry = -1.e30_DP
 real dry cell constant
real(dp), parameter constantsmodule::dnodata = 3.0e30_DP
 real no data constant
real(dp), parameter constantsmodule::dsecperhr = 3.6e3_DP
 real constant representing number of seconds per hour (used in tdis)
real(dp), parameter constantsmodule::dhrperday = 2.4e1_DP
 real constant representing number of hours per day (used in tdis)
real(dp), parameter constantsmodule::ddyperyr = 3.6525e2_DP
 real constant representing the average number of days per year (used in tdis)
real(dp), parameter constantsmodule::dsecperdy = 8.64e4_DP
 real constant representing the number of seconds per day (used in tdis)
real(dp), parameter constantsmodule::dsecperyr = 3.1557600e7_DP
 real constant representing the average number of seconds per year (used in tdis)
real(dp), parameter constantsmodule::dem1 = 1.0e-1_DP
 real constant 1e-1
real(dp), parameter constantsmodule::d5em2 = 5.0e-2_DP
 real constant 5e-2
real(dp), parameter constantsmodule::dem2 = 1.0e-2_DP
 real constant 1e-2
real(dp), parameter constantsmodule::dem3 = 1.0e-3_DP
 real constant 1e-3
real(dp), parameter constantsmodule::dem4 = 1.0e-4_DP
 real constant 1e-4
real(dp), parameter constantsmodule::dem5 = 1.0e-5_DP
 real constant 1e-5
real(dp), parameter constantsmodule::dem6 = 1.0e-6_DP
 real constant 1e-6
real(dp), parameter constantsmodule::dem7 = 1.0e-7_DP
 real constant 1e-7
real(dp), parameter constantsmodule::dem8 = 1.0e-8_DP
 real constant 1e-8
real(dp), parameter constantsmodule::dem9 = 1.0e-9_DP
 real constant 1e-9
real(dp), parameter constantsmodule::dem10 = 1.0e-10_DP
 real constant 1e-10
real(dp), parameter constantsmodule::dem12 = 1.0e-12_DP
 real constant 1e-12
real(dp), parameter constantsmodule::dem14 = 1.0e-14_DP
 real constant 1e-14
real(dp), parameter constantsmodule::dem15 = 1.0e-15_DP
 real constant 1e-15
real(dp), parameter constantsmodule::dem20 = 1.0e-20_DP
 real constant 1e-20
real(dp), parameter constantsmodule::dem30 = 1.0e-30_DP
 real constant 1e-30
real(dp), parameter constantsmodule::dprec = EPSILON(1.0_DP)
 real constant machine precision
real(dp), parameter constantsmodule::dprecsqrt = SQRT(DPREC)
real(dp), parameter constantsmodule::dsame = DHUNDRED * DPREC
 real constant for values that are considered the same based on machine precision
real(dp), parameter constantsmodule::dlnlow = 0.995_DP
 real constant low ratio used to calculate log mean of K
real(dp), parameter constantsmodule::dlnhigh = 1.005_DP
 real constant high ratio used to calculate log mean of K
real(dp), parameter constantsmodule::dpi = DFOUR * ATAN(DONE)
 real constant \(\pi\)
real(dp), parameter constantsmodule::dtwopi = DTWO * DFOUR * ATAN(DONE)
 real constant \(2 \pi\)
real(dp), parameter constantsmodule::dpio180 = datan(DONE) / 4.5d1
 real constant \(\pi/180\)
real(dp), parameter constantsmodule::dgravity = 9.80665_DP
 real constant gravitational acceleration (m/(s s))
real(dp), parameter constantsmodule::dcd = 0.61_DP
 real constant weir coefficient in SI units
character(len= *), parameter constantsmodule::idm_input_suffix = '_IN'
 input array suffix applied when data array shares name
character(len=10), dimension(3, 3), parameter constantsmodule::cidxnames = reshape( [' NODE', ' ', ' ', ' LAYER', ' CELL2D', ' ', ' LAYER', ' ROW', ' COL'], [3, 3])
 cellid labels for DIS, DISV, and DISU discretizations