MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
This module contains the ZDG package methods. More...
Data Types | |
type | swfzdgtype |
Functions/Subroutines | |
subroutine, public | zdg_create (packobj, id, ibcnum, inunit, iout, namemodel, pakname, mempath, dis, cxs, unitconv) |
@ brief Create a new package object More... | |
subroutine | zdg_allocate_scalars (this) |
@ brief Allocate scalars More... | |
subroutine | zdg_allocate_arrays (this, nodelist, auxvar) |
@ brief Allocate arrays More... | |
subroutine | zdg_da (this) |
@ brief Deallocate package memory More... | |
subroutine | zdg_options (this) |
@ brief Source additional options for package More... | |
subroutine | log_zdg_options (this, found) |
@ brief Log SWF specific package options More... | |
subroutine | zdg_rp (this) |
@ brief SWF read and prepare More... | |
subroutine | zdg_cf (this) |
@ brief Formulate the package hcof and rhs terms. More... | |
real(dp) function | qcalc (this, i, depth, unitconv) |
subroutine | zdg_fc (this, rhs, ia, idxglo, matrix_sln) |
@ brief Copy hcof and rhs terms into solution. More... | |
subroutine | define_listlabel (this) |
@ brief Define the list label for the package More... | |
logical function | zdg_obs_supported (this) |
Determine if observations are supported. More... | |
subroutine | zdg_df_obs (this) |
Define the observation types available in the package. More... | |
subroutine | zdg_bd_obs (this) |
Save observations for the package. More... | |
subroutine | zdg_rp_ts (this) |
Assign time series links for the package. More... | |
real(dp) function | zdg_bound_value (this, col, row) |
@ brief Return a bound value More... | |
Variables | |
character(len=lenftype) | ftype = 'ZDG' |
package ftype More... | |
character(len=16) | text = ' ZDG' |
package flow text string More... | |
This module can be used to represent outflow from streams using a zero-depth-gradient boundary.
|
private |
Method defined the list label for the ZDG package. The list label is the heading that is written to iout when PRINT_INPUT option is used.
[in,out] | this | SwfZdgType object |
Definition at line 410 of file swf-zdg.f90.
subroutine swfzdgmodule::log_zdg_options | ( | class(swfzdgtype), intent(inout) | this, |
type(swfzdgparamfoundtype), intent(in) | found | ||
) |
[in,out] | this | BndExtType object |
Definition at line 233 of file swf-zdg.f90.
real(dp) function swfzdgmodule::qcalc | ( | class(swfzdgtype) | this, |
integer(i4b), intent(in) | i, | ||
real(dp), intent(in) | depth, | ||
real(dp), intent(in) | unitconv | ||
) |
[in] | i | boundary number |
[in] | depth | simulated depth (stage - elevation) in reach n for this iteration |
[in] | unitconv | conversion factor for roughness to length and time units of meters and seconds |
Definition at line 342 of file swf-zdg.f90.
subroutine swfzdgmodule::zdg_allocate_arrays | ( | class(swfzdgtype) | this, |
integer(i4b), dimension(:), optional, pointer, contiguous | nodelist, | ||
real(dp), dimension(:, :), optional, pointer, contiguous | auxvar | ||
) |
Allocate and initialize arrays for the SWF package
Definition at line 152 of file swf-zdg.f90.
|
private |
Allocate and initialize scalars for the ZDG package. The base model allocate scalars method is also called.
this | SwfZdgType object |
Definition at line 131 of file swf-zdg.f90.
|
private |
Method to save simulated values for the ZDG package.
this | SwfZdgType object |
Definition at line 476 of file swf-zdg.f90.
|
private |
Return a bound value associated with an ncolbnd index and row.
[in,out] | this | BndExtType object |
Definition at line 551 of file swf-zdg.f90.
subroutine swfzdgmodule::zdg_cf | ( | class(swfzdgtype) | this | ) |
Formulate the hcof and rhs terms for the ZDG package that will be added to the coefficient matrix and right-hand side vector.
this | SwfZdgType object |
Definition at line 281 of file swf-zdg.f90.
subroutine, public swfzdgmodule::zdg_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, | ||
character(len=*), intent(in) | mempath, | ||
class(disbasetype), intent(inout), pointer | dis, | ||
type(swfcxstype), intent(in), pointer | cxs, | ||
real(dp), intent(in) | unitconv | ||
) |
Create a new ZDG Package object
packobj | pointer to default package type | |
[in] | id | package id |
[in] | ibcnum | boundary condition number |
[in] | inunit | unit number of ZDG package input file |
[in] | iout | unit number of model listing file |
[in] | namemodel | model name |
[in] | pakname | package name |
[in] | mempath | input mempath |
[in,out] | dis | the pointer to the discretization |
[in] | cxs | the pointer to the cxs package |
[in] | unitconv | unit conversion for roughness |
Definition at line 73 of file swf-zdg.f90.
subroutine swfzdgmodule::zdg_da | ( | class(swfzdgtype) | this | ) |
Deallocate SWF package scalars and arrays.
this | SwfZdgType object |
Definition at line 186 of file swf-zdg.f90.
|
private |
Method to define the observation types available in the ZDG package.
this | SwfZdgType object |
Definition at line 455 of file swf-zdg.f90.
|
private |
Add the hcof and rhs terms for the ZDG package to the coefficient matrix and right-hand side vector.
this | SwfZdgType object | |
[in,out] | rhs | right-hand side vector for model |
[in] | ia | solution CRS row pointers |
[in] | idxglo | mapping vector for model (local) to solution (global) |
matrix_sln | solution coefficient matrix |
Definition at line 372 of file swf-zdg.f90.
|
private |
Function to determine if observations are supported by the ZDG package. Observations are supported by the ZDG package.
this | SwfZdgType object |
Definition at line 442 of file swf-zdg.f90.
subroutine swfzdgmodule::zdg_options | ( | class(swfzdgtype), intent(inout) | this | ) |
Source additional options for SWF package.
[in,out] | this | SwfZdgType object |
Definition at line 210 of file swf-zdg.f90.
subroutine swfzdgmodule::zdg_rp | ( | class(swfzdgtype), intent(inout) | this | ) |
Definition at line 258 of file swf-zdg.f90.
|
private |
Assign the time series links for the ZDG package. Only the Q variable can be defined with time series.
[in,out] | this | SwfZdgType object |
Definition at line 526 of file swf-zdg.f90.
|
private |
Definition at line 30 of file swf-zdg.f90.
|
private |
Definition at line 31 of file swf-zdg.f90.