MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
simvariablesmodule Module Reference

This module contains simulation variables. More...

Variables

character(len=linelength) simfile = 'mfsim.nam'
 simulation name file
character(len=linelength) simlstfile = 'mfsim.lst'
 simulation listing file name
character(len=linelength) simstdout = 'mfsim.stdout'
 name of standard out file if screen output is piped to a file
character(len=linelength) idm_context = '__INPUT__'
character(len=linelength) simulation_mode = 'SEQUENTIAL'
integer(i4b) proc_id = 0
integer(i4b) nr_procs = 1
character(len=lenmodelname), dimension(:), allocatable model_names
 all model names in the (global) simulation
integer(i4b), dimension(:), pointer, contiguous model_ranks
 all model processor ids (ranks) in the (global) simulation
integer(i4b), dimension(:), allocatable model_loc_idx
 equals the local index into the basemodel list (-1 when not available)
character(len=maxcharlen) errmsg
 error message string
character(len=maxcharlen) warnmsg
 warning message string
integer(i4b) istdout = output_unit
 unit number for stdout
integer(i4b) isim_level = VALL
 simulation output level
integer(i4b) isim_mode = MNORMAL
 simulation mode
integer(i4b) iout
 file unit number for simulation output
integer(i4b) isimcnvg
 simulation convergence flag (1) if all objects have converged, (0) otherwise
integer(i4b) isimcontinue = 0
 simulation continue flag (1) to continue if isimcnvg = 0, (0) to terminate
integer(i4b) nocheck = 0
 nocheck option (0) to check input, (1) to ignore checks
integer(i4b) isimcheck = 1
 simulation input check flag (1) to check input, (0) to ignore checks
integer(i4b) numnoconverge = 0
 number of times the simulation did not converge
integer(i4b) ireturnerr = 0
 return code for program (0) successful, (1) non-convergence, (2) error
integer(i4b) iforcestop = 1
 forced stop flag (1) forces a call to ustop(..) when the simulation has ended, (0) doesn't
integer(i4b) iunext = IUSTART
 next file unit number to assign
integer(i4b) laststepfailed = 0
 flag indicating if the last step failed (1) if last step failed; (0) otherwise (set in converge_check)
integer(i4b) ifailedstepretry = 0
 current retry for this time step
integer(i4b) iparamlog = 0
 input (idm) parameter logging to simulation listing file

Detailed Description

This module contains simulation variables that are available to all other modules. This variables in this module are defined at run time. The module does not have any dependencies on models, exchanges, or solutions in a simulation.

Variable Documentation

◆ errmsg

character(len=maxcharlen) simvariablesmodule::errmsg

Definition at line 28 of file SimVariables.f90.

28 character(len=MAXCHARLEN) :: errmsg !< error message string

◆ idm_context

character(len=linelength) simvariablesmodule::idm_context = '__INPUT__'

Definition at line 18 of file SimVariables.f90.

◆ ifailedstepretry

integer(i4b) simvariablesmodule::ifailedstepretry = 0

Definition at line 43 of file SimVariables.f90.

◆ iforcestop

integer(i4b) simvariablesmodule::iforcestop = 1

Definition at line 40 of file SimVariables.f90.

◆ iout

integer(i4b) simvariablesmodule::iout

Definition at line 33 of file SimVariables.f90.

33 integer(I4B) :: iout !< file unit number for simulation output

◆ iparamlog

integer(i4b) simvariablesmodule::iparamlog = 0

Definition at line 44 of file SimVariables.f90.

◆ ireturnerr

integer(i4b) simvariablesmodule::ireturnerr = 0

Definition at line 39 of file SimVariables.f90.

◆ isim_level

integer(i4b) simvariablesmodule::isim_level = VALL

Definition at line 31 of file SimVariables.f90.

◆ isim_mode

integer(i4b) simvariablesmodule::isim_mode = MNORMAL

Definition at line 32 of file SimVariables.f90.

◆ isimcheck

integer(i4b) simvariablesmodule::isimcheck = 1

Definition at line 37 of file SimVariables.f90.

◆ isimcnvg

integer(i4b) simvariablesmodule::isimcnvg

Definition at line 34 of file SimVariables.f90.

34 integer(I4B) :: isimcnvg !< simulation convergence flag (1) if all objects have converged, (0) otherwise

◆ isimcontinue

integer(i4b) simvariablesmodule::isimcontinue = 0

Definition at line 35 of file SimVariables.f90.

◆ istdout

integer(i4b) simvariablesmodule::istdout = output_unit

Definition at line 30 of file SimVariables.f90.

◆ iunext

integer(i4b) simvariablesmodule::iunext = IUSTART

Definition at line 41 of file SimVariables.f90.

◆ laststepfailed

integer(i4b) simvariablesmodule::laststepfailed = 0

Definition at line 42 of file SimVariables.f90.

◆ model_loc_idx

integer(i4b), dimension(:), allocatable simvariablesmodule::model_loc_idx

Definition at line 26 of file SimVariables.f90.

26 integer(I4B), dimension(:), allocatable :: model_loc_idx !< equals the local index into the basemodel list (-1 when not available)

◆ model_names

character(len=lenmodelname), dimension(:), allocatable simvariablesmodule::model_names

Definition at line 24 of file SimVariables.f90.

24 character(len=LENMODELNAME), dimension(:), allocatable :: model_names !< all model names in the (global) simulation

◆ model_ranks

integer(i4b), dimension(:), pointer, contiguous simvariablesmodule::model_ranks

Definition at line 25 of file SimVariables.f90.

25 integer(I4B), dimension(:), pointer, contiguous :: model_ranks !< all model processor ids (ranks) in the (global) simulation

◆ nocheck

integer(i4b) simvariablesmodule::nocheck = 0

Definition at line 36 of file SimVariables.f90.

◆ nr_procs

integer(i4b) simvariablesmodule::nr_procs = 1

Definition at line 23 of file SimVariables.f90.

◆ numnoconverge

integer(i4b) simvariablesmodule::numnoconverge = 0

Definition at line 38 of file SimVariables.f90.

◆ proc_id

integer(i4b) simvariablesmodule::proc_id = 0

Definition at line 22 of file SimVariables.f90.

◆ simfile

character(len=linelength) simvariablesmodule::simfile = 'mfsim.nam'

Definition at line 15 of file SimVariables.f90.

◆ simlstfile

character(len=linelength) simvariablesmodule::simlstfile = 'mfsim.lst'

Definition at line 16 of file SimVariables.f90.

◆ simstdout

character(len=linelength) simvariablesmodule::simstdout = 'mfsim.stdout'

Definition at line 17 of file SimVariables.f90.

◆ simulation_mode

character(len=linelength) simvariablesmodule::simulation_mode = 'SEQUENTIAL'

Definition at line 21 of file SimVariables.f90.

◆ warnmsg

character(len=maxcharlen) simvariablesmodule::warnmsg

Definition at line 29 of file SimVariables.f90.

29 character(len=MAXCHARLEN) :: warnmsg !< warning message string