MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
Represents a series of instants at which some event should occur. More...
Public Member Functions | |
procedure | deallocate |
procedure | expand |
procedure | init |
procedure | increasing |
procedure | log |
procedure | select |
procedure | advance |
procedure | any |
procedure | count |
procedure | sort |
procedure | extend |
Public Attributes | |
real(dp), dimension(:), allocatable | times |
integer(i4b), dimension(2) | selection |
Maintains an array of configured times which can be sliced to match e.g. the current period & time step. Slicing can be performed manually, with the select() routine, or automatically, with the advance() routine, for a convenient view onto the applicable subset of the complete time array.
Array storage can be expanded manually. Note: array expansion must take place before selection; when expand() is called the selection is wiped. Alternatively, the extend() routine will automatically expand the array and sort it.
Most use cases likely assume a strictly increasing time selection; this can be checked with increasing(). Note that the sort() routine does not check for duplicates, and should usually be followed by an increasing() check before the time selection is used.
Definition at line 30 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::advance |
Definition at line 40 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::any |
Definition at line 41 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::count |
Definition at line 42 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::deallocate |
Definition at line 34 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::expand |
Definition at line 35 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::extend |
Definition at line 44 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::increasing |
Definition at line 37 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::init |
Definition at line 36 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::log |
Definition at line 38 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::select |
Definition at line 39 of file TimeSelect.f90.
procedure timeselectmodule::timeselecttype::sort |
Definition at line 43 of file TimeSelect.f90.
integer(i4b), dimension(2) timeselectmodule::timeselecttype::selection |
Definition at line 32 of file TimeSelect.f90.
real(dp), dimension(:), allocatable timeselectmodule::timeselecttype::times |
Definition at line 31 of file TimeSelect.f90.