![]() |
MODFLOW 6
version 6.7.0.dev2
USGS Modular Hydrologic Model
|
This module contains the extended boundary package. More...
Data Types | |
type | bndexttype |
@ brief BndExtType More... | |
type | bndextfoundtype |
@ brief BndExtFoundType More... | |
Functions/Subroutines | |
subroutine | bndext_df (this, neq, dis) |
@ brief Define boundary package options and dimensions More... | |
subroutine | bndext_rp (this) |
subroutine | bndext_da (this) |
@ brief Deallocate package memory More... | |
subroutine | bndext_allocate_scalars (this) |
@ brief Allocate package scalars More... | |
subroutine | bndext_allocate_arrays (this, nodelist, auxvar) |
@ brief Allocate package arrays More... | |
subroutine | source_options (this) |
@ brief Source package options from input context More... | |
subroutine | log_options (this, found, sfacauxname) |
@ brief Log package options More... | |
subroutine | source_dimensions (this) |
@ brief Source package dimensions from input context More... | |
subroutine | cellid_to_nlist (this) |
@ brief Update package nodelist More... | |
subroutine | nodeu_to_nlist (this) |
@ brief Update package nodelist More... | |
subroutine | layarr_to_nlist (this) |
Update the nodelist based on layer number variable input. More... | |
subroutine | default_nodelist (this) |
Assign default nodelist when READASARRAYS is specified. More... | |
subroutine | check_cellid (this, ii, cellid, mshape, ndim) |
@ brief Check for valid cellid More... | |
subroutine | write_list (this) |
@ brief Log package list input More... | |
real(dp) function | bound_value (this, col, row) |
@ brief Return a bound value More... | |
This module contains the extended boundary type that itself should be extended by model boundary packages that have been updated to source static and dynamic input data from the input context.
subroutine bndextmodule::bndext_allocate_arrays | ( | class(bndexttype) | this, |
integer(i4b), dimension(:), optional, pointer, contiguous | nodelist, | ||
real(dp), dimension(:, :), optional, pointer, contiguous | auxvar | ||
) |
Allocate and initialize base boundary package arrays. This method only needs to be overridden if additional arrays are defined for a specific package.
this | BndExtType object |
nodelist | package nodelist |
auxvar | package aux variable array |
Definition at line 239 of file BoundaryPackageExt.f90.
subroutine bndextmodule::bndext_allocate_scalars | ( | class(bndexttype) | this | ) |
Allocate and initialize base boundary package scalars. This method only needs to be overridden if additional scalars are defined for a specific package.
this | BndExtType object |
Definition at line 210 of file BoundaryPackageExt.f90.
subroutine bndextmodule::bndext_da | ( | class(bndexttype) | this | ) |
|
private |
Define base boundary package options and dimensions for a model boundary package.
[in,out] | this | BndExtType object |
[in,out] | neq | number of equations |
dis | discretization object |
Definition at line 82 of file BoundaryPackageExt.f90.
subroutine bndextmodule::bndext_rp | ( | class(bndexttype), intent(inout) | this | ) |
[in,out] | this | BndExtType object |
Definition at line 139 of file BoundaryPackageExt.f90.
real(dp) function bndextmodule::bound_value | ( | class(bndexttype), intent(inout) | this, |
integer(i4b), intent(in) | col, | ||
integer(i4b), intent(in) | row | ||
) |
Return a bound value associated with an ncolbnd index and row. This function should be overridden in the derived package class.
[in,out] | this | BndExtType object |
Definition at line 886 of file BoundaryPackageExt.f90.
subroutine bndextmodule::cellid_to_nlist | ( | class(bndexttype) | this | ) |
Convert period updated cellids to node numbers.
this | BndExtType object |
Definition at line 490 of file BoundaryPackageExt.f90.
|
private |
this | BndExtType object | |
[in] | mshape | model shape |
[in] | ndim | size of mshape |
Definition at line 662 of file BoundaryPackageExt.f90.
subroutine bndextmodule::default_nodelist | ( | class(bndexttype) | this | ) |
Equivalent to reading layer number array as CONSTANT 1
Definition at line 624 of file BoundaryPackageExt.f90.
subroutine bndextmodule::layarr_to_nlist | ( | class(bndexttype) | this | ) |
This is a module scoped routine to check for I<filtyp> input. If array input was provided, INI<filtyp> and I<filtyp> will be allocated in the input context. If the read state variable INI<filtyp> is set to 1 during this period update, I<filtyp> input was read and is used here to update the nodelist.
this | BndExtType object |
Definition at line 587 of file BoundaryPackageExt.f90.
subroutine bndextmodule::log_options | ( | class(bndexttype), intent(inout) | this, |
type(bndextfoundtype), intent(in) | found, | ||
character(len=*), intent(in) | sfacauxname | ||
) |
subroutine bndextmodule::nodeu_to_nlist | ( | class(bndexttype) | this | ) |
Convert period user nodes to reduced nodes
this | BndExtType object |
Definition at line 553 of file BoundaryPackageExt.f90.
|
private |
[in,out] | this | BndExtType object |
Definition at line 452 of file BoundaryPackageExt.f90.
subroutine bndextmodule::source_options | ( | class(bndexttype), intent(inout) | this | ) |
[in,out] | this | BndExtType object |
Definition at line 278 of file BoundaryPackageExt.f90.
subroutine bndextmodule::write_list | ( | class(bndexttype) | this | ) |
Log period list based input. This routine requires a package specific bound_value() routine to report accurate bound values.
this | BndExtType object |
Definition at line 723 of file BoundaryPackageExt.f90.