MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
budgetfilereadermodule::budgetfilereadertype Type Referenceabstract
Inheritance diagram for budgetfilereadermodule::budgetfilereadertype:
Inheritance graph
Collaboration diagram for budgetfilereadermodule::budgetfilereadertype:
Collaboration graph

Public Member Functions

procedure initialize (this, iu, iout, ncrbud)
procedure read_header (this, success, iout)
procedure read_record (this, success, iout)
procedure rewind (this)
procedure finalize (this)
procedure(read_header_if), deferred read_header (this, success, iout)
procedure(read_record_if), deferred read_record (this, success, iout)
procedure build_index (this)
 Build an index of record positions in the file.
procedure peek_record (this)
 Peek to see if another record is available.
procedure rewind (this)
 Rewind the file to the beginning.
procedure seek_to_index (this, index)
 Position the file at the start of an indexed record.

Public Attributes

logical hasimeth1flowja = .false.
integer(i4b) nbudterms
character(len=16), dimension(:), allocatable budtxtarray
integer(i4b), dimension(:), allocatable imetharray
integer(i4b), dimension(:), allocatable nauxarray
character(len=16), dimension(:, :), allocatable auxtxtarray
real(dp), dimension(:), allocatable flowja
integer(i4b), dimension(:), allocatable nodesrc
integer(i4b), dimension(:), allocatable nodedst
real(dp), dimension(:), allocatable flow
real(dp), dimension(:, :), allocatable auxvar
character(len=16), dimension(:), allocatable dstpackagenamearray
integer(i4b) inunit
integer(i4b) nrecords = 0
logical(lgp) indexed = .false.
logical(lgp) endoffile = .false.
integer(i8b), dimension(:), allocatable record_positions
 record start positions
class(binaryfileheadertype), allocatable header
class(binaryfileheadertype), allocatable headernext

Detailed Description

Definition at line 25 of file BudgetFileReader.f90.

Member Function/Subroutine Documentation

◆ build_index()

procedure binaryfilereadermodule::binaryfilereadertype::build_index ( class(binaryfilereadertype), intent(inout) this)
inherited

Definition at line 27 of file BinaryFileReader.f90.

◆ finalize()

procedure budgetfilereadermodule::budgetfilereadertype::finalize ( class(budgetfilereadertype) this)

Definition at line 43 of file BudgetFileReader.f90.

◆ initialize()

procedure budgetfilereadermodule::budgetfilereadertype::initialize ( class(budgetfilereadertype) this,
integer(i4b), intent(in) iu,
integer(i4b), intent(in) iout,
integer(i4b), intent(out) ncrbud )

Definition at line 39 of file BudgetFileReader.f90.

◆ peek_record()

procedure binaryfilereadermodule::binaryfilereadertype::peek_record ( class(binaryfilereadertype), intent(inout) this)
inherited

Definition at line 28 of file BinaryFileReader.f90.

◆ read_header() [1/2]

procedure(read_header_if), deferred binaryfilereadermodule::binaryfilereadertype::read_header ( class(binaryfilereadertype), intent(inout) this,
logical(lgp), intent(out) success,
integer(i4b), intent(in), optional iout )
pure virtualinherited

Definition at line 25 of file BinaryFileReader.f90.

◆ read_header() [2/2]

procedure budgetfilereadermodule::budgetfilereadertype::read_header ( class(budgetfilereadertype), intent(inout) this,
logical, intent(out) success,
integer(i4b), intent(in), optional iout )

Definition at line 40 of file BudgetFileReader.f90.

◆ read_record() [1/2]

procedure(read_record_if), deferred binaryfilereadermodule::binaryfilereadertype::read_record ( class(binaryfilereadertype), intent(inout) this,
logical(lgp), intent(out) success,
integer(i4b), intent(in), optional iout )
pure virtualinherited

Definition at line 26 of file BinaryFileReader.f90.

◆ read_record() [2/2]

procedure budgetfilereadermodule::budgetfilereadertype::read_record ( class(budgetfilereadertype), intent(inout) this,
logical, intent(out) success,
integer(i4b), intent(in), optional iout )

Definition at line 41 of file BudgetFileReader.f90.

◆ rewind() [1/2]

procedure binaryfilereadermodule::binaryfilereadertype::rewind ( class(binaryfilereadertype), intent(inout) this)
inherited

Definition at line 29 of file BinaryFileReader.f90.

◆ rewind() [2/2]

procedure budgetfilereadermodule::budgetfilereadertype::rewind ( class(budgetfilereadertype), intent(inout) this)

Definition at line 42 of file BudgetFileReader.f90.

◆ seek_to_index()

procedure binaryfilereadermodule::binaryfilereadertype::seek_to_index ( class(binaryfilereadertype), intent(inout) this,
integer(i4b), intent(in) index )
inherited

Definition at line 30 of file BinaryFileReader.f90.

Member Data Documentation

◆ auxtxtarray

character(len=16), dimension(:, :), allocatable budgetfilereadermodule::budgetfilereadertype::auxtxtarray

Definition at line 31 of file BudgetFileReader.f90.

31 character(len=16), dimension(:, :), allocatable :: auxtxtarray

◆ auxvar

real(dp), dimension(:, :), allocatable budgetfilereadermodule::budgetfilereadertype::auxvar

Definition at line 36 of file BudgetFileReader.f90.

36 real(DP), dimension(:, :), allocatable :: auxvar

◆ budtxtarray

character(len=16), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::budtxtarray

Definition at line 28 of file BudgetFileReader.f90.

28 character(len=16), dimension(:), allocatable :: budtxtarray

◆ dstpackagenamearray

character(len=16), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::dstpackagenamearray

Definition at line 37 of file BudgetFileReader.f90.

37 character(len=16), dimension(:), allocatable :: dstpackagenamearray

◆ endoffile

logical(lgp) binaryfilereadermodule::binaryfilereadertype::endoffile = .false.
inherited

Definition at line 20 of file BinaryFileReader.f90.

◆ flow

real(dp), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::flow

Definition at line 35 of file BudgetFileReader.f90.

35 real(DP), dimension(:), allocatable :: flow

◆ flowja

real(dp), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::flowja

Definition at line 32 of file BudgetFileReader.f90.

32 real(DP), dimension(:), allocatable :: flowja

◆ hasimeth1flowja

logical budgetfilereadermodule::budgetfilereadertype::hasimeth1flowja = .false.

Definition at line 26 of file BudgetFileReader.f90.

◆ header

class(binaryfileheadertype), allocatable binaryfilereadermodule::binaryfilereadertype::header
inherited

Definition at line 22 of file BinaryFileReader.f90.

22 class(BinaryFileHeaderType), allocatable :: header

◆ headernext

class(binaryfileheadertype), allocatable binaryfilereadermodule::binaryfilereadertype::headernext
inherited

Definition at line 23 of file BinaryFileReader.f90.

23 class(BinaryFileHeaderType), allocatable :: headernext

◆ imetharray

integer(i4b), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::imetharray

Definition at line 29 of file BudgetFileReader.f90.

29 integer(I4B), dimension(:), allocatable :: imetharray

◆ indexed

logical(lgp) binaryfilereadermodule::binaryfilereadertype::indexed = .false.
inherited

Definition at line 19 of file BinaryFileReader.f90.

◆ inunit

integer(i4b) binaryfilereadermodule::binaryfilereadertype::inunit
inherited

Definition at line 17 of file BinaryFileReader.f90.

17 integer(I4B) :: inunit

◆ nauxarray

integer(i4b), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::nauxarray

Definition at line 30 of file BudgetFileReader.f90.

30 integer(I4B), dimension(:), allocatable :: nauxarray

◆ nbudterms

integer(i4b) budgetfilereadermodule::budgetfilereadertype::nbudterms

Definition at line 27 of file BudgetFileReader.f90.

27 integer(I4B) :: nbudterms

◆ nodedst

integer(i4b), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::nodedst

Definition at line 34 of file BudgetFileReader.f90.

34 integer(I4B), dimension(:), allocatable :: nodedst

◆ nodesrc

integer(i4b), dimension(:), allocatable budgetfilereadermodule::budgetfilereadertype::nodesrc

Definition at line 33 of file BudgetFileReader.f90.

33 integer(I4B), dimension(:), allocatable :: nodesrc

◆ nrecords

integer(i4b) binaryfilereadermodule::binaryfilereadertype::nrecords = 0
inherited

Definition at line 18 of file BinaryFileReader.f90.

◆ record_positions

integer(i8b), dimension(:), allocatable binaryfilereadermodule::binaryfilereadertype::record_positions
inherited

Definition at line 21 of file BinaryFileReader.f90.

21 integer(I8B), allocatable :: record_positions(:) !< record start positions

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