![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Time step selection type. More...

Public Member Functions | |
| procedure | deallocate (this) |
| Deallocate the time step selection object. | |
| procedure | init (this) |
| Initialize the time step selection object. | |
| procedure | log (this, iout, verb) |
| procedure | read (this, line) |
| Read a line of input and prepare the selection object. | |
| procedure | is_selected (this, kstp, endofperiod) |
| Indicates whether the given time step is selected. | |
| procedure | any (this) |
| Indicates whether any time steps are selected. | |
Public Attributes | |
| logical(lgp) | all |
| logical(lgp) | first |
| logical(lgp) | last |
| integer(i4b) | freq |
| integer(i4b), dimension(:), allocatable | steps |
Represents a selection of time steps as configured in an input file's period block settings. The object should be initiated with the init() procedure. The read() procedure accepts a character string of form:
ALL STEPS 1 4 5 6 FIRST LAST FREQUENCY 4
The read() procedure may be invoked multiple times to select multiple time steps. Note that a character string reusing a keyword which has been used for a previous read() invocation will override the previous setting using that keyword. To combine multiple settings, be sure the keywords are different on each invocation, e.g.:
FIRST LAST STEPS 2
The is_selected() function indicates whether the given time step is active. This function accepts an optional argument, indicating that the time step is the last in the stress period.
Definition at line 40 of file TimeStepSelect.f90.
| procedure timestepselectmodule::timestepselecttype::any | ( | class(timestepselecttype) | this | ) |
| this | this instance |
Definition at line 52 of file TimeStepSelect.f90.
| procedure timestepselectmodule::timestepselecttype::deallocate | ( | class(timestepselecttype) | this | ) |
Definition at line 47 of file TimeStepSelect.f90.
| procedure timestepselectmodule::timestepselecttype::init | ( | class(timestepselecttype) | this | ) |
| this | this instance |
Definition at line 48 of file TimeStepSelect.f90.
| procedure timestepselectmodule::timestepselecttype::is_selected | ( | class(timestepselecttype) | this, |
| integer(i4b), intent(in) | kstp, | ||
| logical(lgp), intent(in), optional | endofperiod ) |
| this | this instance | |
| [in] | kstp | current time step |
| [in] | endofperiod | whether last step of stress period |
Definition at line 51 of file TimeStepSelect.f90.
| procedure timestepselectmodule::timestepselecttype::log | ( | class(timestepselecttype) | this, |
| integer(i4b), intent(in) | iout, | ||
| character(len=*), intent(in) | verb ) |
| this | this instance | |
| [in] | iout | output unit |
| [in] | verb | selection name |
Definition at line 49 of file TimeStepSelect.f90.
| procedure timestepselectmodule::timestepselecttype::read | ( | class(timestepselecttype) | this, |
| character(len=*), intent(in) | line ) |
| this | this instance | |
| [in] | line | input line |
Definition at line 50 of file TimeStepSelect.f90.
| logical(lgp) timestepselectmodule::timestepselecttype::all |
Definition at line 41 of file TimeStepSelect.f90.
| logical(lgp) timestepselectmodule::timestepselecttype::first |
Definition at line 42 of file TimeStepSelect.f90.
| integer(i4b) timestepselectmodule::timestepselecttype::freq |
Definition at line 44 of file TimeStepSelect.f90.
| logical(lgp) timestepselectmodule::timestepselecttype::last |
Definition at line 43 of file TimeStepSelect.f90.
| integer(i4b), dimension(:), allocatable timestepselectmodule::timestepselecttype::steps |
Definition at line 45 of file TimeStepSelect.f90.