MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
timeselectmodule::timeselecttype Type Reference

Represents a series of instants at which some event should occur. More...

Collaboration diagram for timeselectmodule::timeselecttype:
Collaboration graph

Public Member Functions

procedure destroy
 
procedure expand
 
procedure init
 
procedure increasing
 
procedure select
 
procedure try_advance
 

Public Attributes

real(dp), dimension(:), allocatable times
 
integer(i4b), dimension(2) selection
 

Detailed Description

Supports selection e.g. to filter times in a selected period & time step. Array storage can be expanded as needed. Note: array expansion must take place before selection; when expand() is invoked the selection is cleared. The time series is assumed to strictly increase, increasing() checks this.

Definition at line 18 of file TimeSelect.f90.

Member Function/Subroutine Documentation

◆ destroy()

procedure timeselectmodule::timeselecttype::destroy

Definition at line 22 of file TimeSelect.f90.

◆ expand()

procedure timeselectmodule::timeselecttype::expand

Definition at line 23 of file TimeSelect.f90.

◆ increasing()

procedure timeselectmodule::timeselecttype::increasing

Definition at line 25 of file TimeSelect.f90.

◆ init()

procedure timeselectmodule::timeselecttype::init

Definition at line 24 of file TimeSelect.f90.

◆ select()

procedure timeselectmodule::timeselecttype::select

Definition at line 26 of file TimeSelect.f90.

◆ try_advance()

procedure timeselectmodule::timeselecttype::try_advance

Definition at line 27 of file TimeSelect.f90.

Member Data Documentation

◆ selection

integer(i4b), dimension(2) timeselectmodule::timeselecttype::selection

Definition at line 20 of file TimeSelect.f90.

20  integer(I4B) :: selection(2)

◆ times

real(dp), dimension(:), allocatable timeselectmodule::timeselecttype::times

Definition at line 19 of file TimeSelect.f90.

19  real(DP), allocatable :: times(:)

The documentation for this type was generated from the following file: