MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
Collaboration diagram for listreadermodule::listreadertype:
Collaboration graph

Public Member Functions

procedure read_list (this, line_reader, in, iout, nlist, inamedbound, mshape, nodelist, rlist, auxvar, auxname, boundname, label)
 Initialize the reader.
procedure write_list (this)
 Write input data to a list.

Public Attributes

integer(i4b) in = 0
 unit number of file containing control record
integer(i4b) inlist = 0
 unit number of file from which list will be read
integer(i4b) iout = 0
 unit number to output messages
integer(i4b) inamedbound = 0
 flag indicating boundary names are to be read
integer(i4b) ierr = 0
 error flag
integer(i4b) nlist = 0
 number of entries in list. -1 indicates number will be automatically determined
integer(i4b) ibinary = 0
 flag indicating to read binary list
integer(i4b) istart = 0
 string starting location
integer(i4b) istop = 0
 string ending location
integer(i4b) lloc = 0
 entry number in line
integer(i4b) iclose = 0
 flag indicating whether or not to close file
integer(i4b) ndim = 0
 number of dimensions in model
integer(i4b) ntxtrlist = 0
 number of text entries found in rlist
integer(i4b) ntxtauxvar = 0
 number of text entries found in auxvar
character(len=lenlistlabel) label = ''
 label for printing list
integer(i4b), dimension(:), pointer, contiguous mshape => null()
 pointer to model shape
integer(i4b), dimension(:), pointer, contiguous nodelist => null()
 pointer to nodelist
real(dp), dimension(:, :), pointer, contiguous rlist => null()
 pointer to rlist
real(dp), dimension(:, :), pointer, contiguous auxvar => null()
 pointer to auxvar
character(len=16), dimension(:), pointer auxname => null()
 pointer to aux names
character(len=lenboundname), dimension(:), pointer, contiguous boundname => null()
 pointer to boundname
integer(i4b), dimension(:), allocatable idxtxtrow
 row locations of text in rlist
integer(i4b), dimension(:), allocatable idxtxtcol
 col locations of text in rlist
integer(i4b), dimension(:), allocatable idxtxtauxrow
 row locations of text in auxvar
integer(i4b), dimension(:), allocatable idxtxtauxcol
 col locations of text in auxvar
character(len=lentimeseriesname), dimension(:), allocatable txtrlist
 text found in rlist
character(len=lentimeseriesname), dimension(:), allocatable txtauxvar
 text found in auxvar
type(longlinereadertype), pointer line_reader => null()

Private Member Functions

procedure, private read_control_record (this)
 Check for a control record, and parse if found.
procedure, private read_data (this)
 Read the data.
procedure, private set_openclose (this)
 Set up for open/close file.
procedure, private read_ascii (this)
 Read the data from an ascii file.
procedure, private read_binary (this)
 Read the data from a binary file.

Private Attributes

character(len=:), allocatable, private line
 current line

Detailed Description

Definition at line 17 of file ListReader.f90.

Member Function/Subroutine Documentation

◆ read_ascii()

procedure, private listreadermodule::listreadertype::read_ascii ( class(listreadertype) this)
private

Definition at line 56 of file ListReader.f90.

◆ read_binary()

procedure, private listreadermodule::listreadertype::read_binary ( class(listreadertype) this)
private

Definition at line 57 of file ListReader.f90.

◆ read_control_record()

procedure, private listreadermodule::listreadertype::read_control_record ( class(listreadertype) this)
private

Definition at line 53 of file ListReader.f90.

◆ read_data()

procedure, private listreadermodule::listreadertype::read_data ( class(listreadertype) this)
private

Definition at line 54 of file ListReader.f90.

◆ read_list()

procedure listreadermodule::listreadertype::read_list ( class(listreadertype) this,
type(longlinereadertype), intent(inout), target line_reader,
integer(i4b), intent(in) in,
integer(i4b), intent(in) iout,
integer(i4b), intent(inout) nlist,
integer(i4b), intent(in) inamedbound,
integer(i4b), dimension(:), intent(in), pointer, contiguous mshape,
integer(i4b), dimension(:), intent(inout), pointer, contiguous nodelist,
real(dp), dimension(:, :), intent(inout), pointer, contiguous rlist,
real(dp), dimension(:, :), intent(inout), pointer, contiguous auxvar,
character(len=lenauxname), dimension(:), intent(inout), target auxname,
character(len=lenboundname), dimension(:), intent(inout), pointer, contiguous boundname,
character(len=lenlistlabel), intent(in) label )

Definition at line 51 of file ListReader.f90.

◆ set_openclose()

procedure, private listreadermodule::listreadertype::set_openclose ( class(listreadertype) this)
private

OPEN/CLOSE fname [(BINARY)]

Definition at line 55 of file ListReader.f90.

◆ write_list()

procedure listreadermodule::listreadertype::write_list ( class(listreadertype) this)

Definition at line 52 of file ListReader.f90.

Member Data Documentation

◆ auxname

character(len=16), dimension(:), pointer listreadermodule::listreadertype::auxname => null()

Definition at line 38 of file ListReader.f90.

◆ auxvar

real(dp), dimension(:, :), pointer, contiguous listreadermodule::listreadertype::auxvar => null()

Definition at line 37 of file ListReader.f90.

◆ boundname

character(len=lenboundname), dimension(:), pointer, contiguous listreadermodule::listreadertype::boundname => null()

Definition at line 39 of file ListReader.f90.

◆ ibinary

integer(i4b) listreadermodule::listreadertype::ibinary = 0

Definition at line 24 of file ListReader.f90.

◆ iclose

integer(i4b) listreadermodule::listreadertype::iclose = 0

Definition at line 28 of file ListReader.f90.

◆ idxtxtauxcol

integer(i4b), dimension(:), allocatable listreadermodule::listreadertype::idxtxtauxcol

Definition at line 44 of file ListReader.f90.

44 integer(I4B), dimension(:), allocatable :: idxtxtauxcol !< col locations of text in auxvar

◆ idxtxtauxrow

integer(i4b), dimension(:), allocatable listreadermodule::listreadertype::idxtxtauxrow

Definition at line 43 of file ListReader.f90.

43 integer(I4B), dimension(:), allocatable :: idxtxtauxrow !< row locations of text in auxvar

◆ idxtxtcol

integer(i4b), dimension(:), allocatable listreadermodule::listreadertype::idxtxtcol

Definition at line 42 of file ListReader.f90.

42 integer(I4B), dimension(:), allocatable :: idxtxtcol !< col locations of text in rlist

◆ idxtxtrow

integer(i4b), dimension(:), allocatable listreadermodule::listreadertype::idxtxtrow

Definition at line 41 of file ListReader.f90.

41 integer(I4B), dimension(:), allocatable :: idxtxtrow !< row locations of text in rlist

◆ ierr

integer(i4b) listreadermodule::listreadertype::ierr = 0

Definition at line 22 of file ListReader.f90.

◆ in

integer(i4b) listreadermodule::listreadertype::in = 0

Definition at line 18 of file ListReader.f90.

◆ inamedbound

integer(i4b) listreadermodule::listreadertype::inamedbound = 0

Definition at line 21 of file ListReader.f90.

◆ inlist

integer(i4b) listreadermodule::listreadertype::inlist = 0

Definition at line 19 of file ListReader.f90.

◆ iout

integer(i4b) listreadermodule::listreadertype::iout = 0

Definition at line 20 of file ListReader.f90.

◆ istart

integer(i4b) listreadermodule::listreadertype::istart = 0

Definition at line 25 of file ListReader.f90.

◆ istop

integer(i4b) listreadermodule::listreadertype::istop = 0

Definition at line 26 of file ListReader.f90.

◆ label

character(len=lenlistlabel) listreadermodule::listreadertype::label = ''

Definition at line 32 of file ListReader.f90.

◆ line

character(len=:), allocatable, private listreadermodule::listreadertype::line
private

Definition at line 33 of file ListReader.f90.

33 character(len=:), allocatable, private :: line !< current line

◆ line_reader

type(longlinereadertype), pointer listreadermodule::listreadertype::line_reader => null()

Definition at line 47 of file ListReader.f90.

◆ lloc

integer(i4b) listreadermodule::listreadertype::lloc = 0

Definition at line 27 of file ListReader.f90.

◆ mshape

integer(i4b), dimension(:), pointer, contiguous listreadermodule::listreadertype::mshape => null()

Definition at line 34 of file ListReader.f90.

◆ ndim

integer(i4b) listreadermodule::listreadertype::ndim = 0

Definition at line 29 of file ListReader.f90.

◆ nlist

integer(i4b) listreadermodule::listreadertype::nlist = 0

Definition at line 23 of file ListReader.f90.

◆ nodelist

integer(i4b), dimension(:), pointer, contiguous listreadermodule::listreadertype::nodelist => null()

Definition at line 35 of file ListReader.f90.

◆ ntxtauxvar

integer(i4b) listreadermodule::listreadertype::ntxtauxvar = 0

Definition at line 31 of file ListReader.f90.

◆ ntxtrlist

integer(i4b) listreadermodule::listreadertype::ntxtrlist = 0

Definition at line 30 of file ListReader.f90.

◆ rlist

real(dp), dimension(:, :), pointer, contiguous listreadermodule::listreadertype::rlist => null()

Definition at line 36 of file ListReader.f90.

◆ txtauxvar

character(len=lentimeseriesname), dimension(:), allocatable listreadermodule::listreadertype::txtauxvar

Definition at line 46 of file ListReader.f90.

46 character(len=LENTIMESERIESNAME), dimension(:), allocatable :: txtauxvar !< text found in auxvar

◆ txtrlist

character(len=lentimeseriesname), dimension(:), allocatable listreadermodule::listreadertype::txtrlist

Definition at line 45 of file ListReader.f90.

45 character(len=LENTIMESERIESNAME), dimension(:), allocatable :: txtrlist !< text found in rlist

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