![]() |
MODFLOW 6
version 6.7.0.dev3
USGS Modular Hydrologic Model
|
Data Types | |
| type | gridfilereadertype |
Functions/Subroutines | |
| subroutine | initialize (this, iu) |
| @Brief Initialize the grid file reader. More... | |
| subroutine | finalize (this) |
| Finalize the grid file reader. More... | |
| subroutine | read_header (this) |
| Read the file's self-describing header. Internal use only. More... | |
| subroutine | read_header_meta (this) |
| Read self-describing metadata (first four lines). Internal use only. More... | |
| subroutine | read_header_body (this) |
| Read the header body section (text following first. More... | |
| integer(i4b) function | read_int (this, key) |
| Read an integer scalar from a grid file. More... | |
| real(dp) function | read_dbl (this, key) |
| Read a double precision scalar from a grid file. More... | |
| integer(i4b) function, dimension(:), allocatable | read_int_1d (this, key) |
| Read a 1D integer array from a grid file. More... | |
| subroutine | read_int_1d_into (this, key, v) |
| Read a 1D integer array into a preallocated array. More... | |
| real(dp) function, dimension(:), allocatable | read_dbl_1d (this, key) |
| Read a 1D double array from a grid file. More... | |
| subroutine | read_dbl_1d_into (this, key, v) |
| Read a 1D double array into a preallocated array. More... | |
| character(len=:) function, allocatable | read_charstr (this, key) |
| Read a character string from a grid file. More... | |
| subroutine | read_charstr_into (this, key, charstr) |
| Read a character string into a preallocated string. More... | |
| integer(i4b) function, dimension(:), allocatable | read_grid_shape (this) |
| Read the grid shape from a grid file. More... | |
| logical(lgp) function, allocatable | has_variable (this, key) |
| subroutine gridfilereadermodule::finalize | ( | class(gridfilereadertype) | this | ) |
| logical(lgp) function, allocatable gridfilereadermodule::has_variable | ( | class(gridfilereadertype) | this, |
| character(len=*), intent(in) | key | ||
| ) |
Definition at line 514 of file GridFileReader.f90.
| subroutine gridfilereadermodule::initialize | ( | class(gridfilereadertype) | this, |
| integer(i4b), intent(in) | iu | ||
| ) |
| character(len=:) function, allocatable gridfilereadermodule::read_charstr | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key | ||
| ) |
Allocates and returns a new character string containing the data.
Definition at line 415 of file GridFileReader.f90.

| subroutine gridfilereadermodule::read_charstr_into | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key, | ||
| character(len=:), intent(inout), allocatable | charstr | ||
| ) |
Populates a preallocated character string. If the string is not allocated or is the wrong length, it will be (re)allocated to the correct length.
Definition at line 446 of file GridFileReader.f90.

| real(dp) function gridfilereadermodule::read_dbl | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key | ||
| ) |
| real(dp) function, dimension(:), allocatable gridfilereadermodule::read_dbl_1d | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key | ||
| ) |
Allocates and returns a new array containing the data.
Definition at line 345 of file GridFileReader.f90.

| subroutine gridfilereadermodule::read_dbl_1d_into | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key, | ||
| real(dp), dimension(:), intent(inout) | v | ||
| ) |
Populates a preallocated array. Array must already be allocated to the correct size. This version is compatible with both allocatable arrays and memory-manager-allocated pointer targets.
Definition at line 378 of file GridFileReader.f90.

| integer(i4b) function, dimension(:), allocatable gridfilereadermodule::read_grid_shape | ( | class(gridfilereadertype) | this | ) |
Definition at line 482 of file GridFileReader.f90.
| subroutine gridfilereadermodule::read_header | ( | class(gridfilereadertype) | this | ) |
Definition at line 83 of file GridFileReader.f90.
| subroutine gridfilereadermodule::read_header_body | ( | class(gridfilereadertype) | this | ) |
| subroutine gridfilereadermodule::read_header_meta | ( | class(gridfilereadertype) | this | ) |
| integer(i4b) function gridfilereadermodule::read_int | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key | ||
| ) |
| integer(i4b) function, dimension(:), allocatable gridfilereadermodule::read_int_1d | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key | ||
| ) |
Allocates and returns a new array containing the data.
Definition at line 275 of file GridFileReader.f90.

| subroutine gridfilereadermodule::read_int_1d_into | ( | class(gridfilereadertype), intent(inout) | this, |
| character(len=*), intent(in) | key, | ||
| integer(i4b), dimension(:), intent(inout) | v | ||
| ) |
Populates a preallocated array. Array must already be allocated to the correct size. This version is compatible with both allocatable arrays and memory-manager-allocated pointer targets.
Definition at line 308 of file GridFileReader.f90.
