MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
This module contains the API package methods. More...
Data Types | |
type | apitype |
Functions/Subroutines | |
subroutine, public | api_create (packobj, id, ibcnum, inunit, iout, namemodel, pakname) |
@ brief Create a new package object More... | |
subroutine | api_options (this, option, found) |
@ brief Read additional options for package More... | |
subroutine | api_rp (this) |
@ brief Read and prepare stress period data for package More... | |
subroutine | api_fc (this, rhs, ia, idxglo, matrix_sln) |
@ brief Fill A and r for the package More... | |
logical function | api_obs_supported (this) |
Determine if observations are supported. More... | |
subroutine | api_df_obs (this) |
Define the observation types available in the package. More... | |
Variables | |
character(len=lenftype) | ftype = 'API' |
character(len=lenpackagename) | text = ' API' |
This module contains the overridden methods from the base model package class for the API package. The API package is designed to be used with the shared object and have period data specified using the MODFLOW API. Several methods need to be overridden since no period data are specified in the API input file. Overridden methods include:
subroutine, public apimodule::api_create | ( | class(bndtype), pointer | packobj, |
integer(i4b), intent(in) | id, | ||
integer(i4b), intent(in) | ibcnum, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout, | ||
character(len=*), intent(in) | namemodel, | ||
character(len=*), intent(in) | pakname | ||
) |
Create a new USR Package object
packobj | pointer to default package type | |
[in] | id | package id |
[in] | ibcnum | boundary condition number |
[in] | inunit | unit number of USR package input file |
[in] | iout | unit number of model listing file |
[in] | namemodel | model name |
[in] | pakname | package name |
Definition at line 48 of file gwf-api.f90.
|
private |
Method to define the observation types available in the USR package.
Definition at line 180 of file gwf-api.f90.
|
private |
Fill the coefficient matrix and right-hand side with the USR package terms.
[in,out] | rhs | right-hand side vector |
[in] | ia | pointer to the rows in A matrix |
[in] | idxglo | position of entries in A matrix |
matrix_sln | A matrix for solution |
Definition at line 125 of file gwf-api.f90.
|
private |
Function to determine if observations are supported by the USR package. Observations are supported by the USR package.
Definition at line 167 of file gwf-api.f90.
|
private |
|
private |
Method reads and prepares stress period data for the USR package. This method overrides the base read and prepare method and does not read any stress period data from the USR package input file.
Definition at line 114 of file gwf-api.f90.
|
private |
Definition at line 28 of file gwf-api.f90.
|
private |
Definition at line 29 of file gwf-api.f90.