![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
This module contains the GwfGwfExchangeModule Module. More...
Data Types | |
| type | gwfexchangetype |
| Derived type for GwfExchangeType. More... | |
Functions/Subroutines | |
| subroutine, public | gwfexchange_create (filename, name, id, m1_id, m2_id, input_mempath) |
| Create GWF GWF exchange. | |
| subroutine | gwf_gwf_df (this) |
| Define GWF GWF exchange. | |
| subroutine | validate_exchange (this) |
| validate exchange data after reading | |
| subroutine | gwf_gwf_ac (this, sparse) |
| Add connections. | |
| subroutine | gwf_gwf_mc (this, matrix_sln) |
| Map connections. | |
| subroutine | gwf_gwf_ar (this) |
| Allocate and read. | |
| subroutine | gwf_gwf_rp (this) |
| Read and prepare. | |
| subroutine | gwf_gwf_ad (this) |
| Advance. | |
| subroutine | gwf_gwf_cf (this, kiter) |
| Calculate coefficients. | |
| subroutine | gwf_gwf_fc (this, kiter, matrix_sln, rhs_sln, inwtflag) |
| Fill coefficients. | |
| subroutine | gwf_gwf_fn (this, kiter, matrix_sln) |
| Fill Newton. | |
| subroutine | gwf_gwf_cq (this, icnvg, isuppress_output, isolnid) |
| Calculate flow. | |
| subroutine | gwf_gwf_calc_simvals (this) |
| Calculate flow rates for the exchanges and store them in a member array. | |
| subroutine | gwf_gwf_add_to_flowja (this) |
| Add exchange flow to each model flowja diagonal position so that residual is calculated correctly. | |
| subroutine | gwf_gwf_set_flow_to_npf (this) |
| Set flow rates to the edges in the models. | |
| subroutine | gwf_gwf_bd (this, icnvg, isuppress_output, isolnid) |
| Budget. | |
| subroutine | gwf_gwf_chd_bd (this) |
| gwf-gwf-chd-bd | |
| subroutine | gwf_gwf_bdsav (this) |
| Budget save. | |
| subroutine | gwf_gwf_bdsav_model (this, model) |
| subroutine | gwf_gwf_ot (this) |
| Output. | |
| subroutine | source_options (this, iout) |
| Source options. | |
| subroutine | read_gnc (this) |
| Read ghost nodes. | |
| subroutine | read_mvr (this, iout) |
| Read mover. | |
| subroutine | rewet (this, kiter) |
| Rewet. | |
| subroutine | calc_cond_sat (this) |
| subroutine | condcalc (this) |
| Calculate the conductance. | |
| subroutine | allocate_scalars (this) |
| Allocate scalars. | |
| subroutine | gwf_gwf_da (this) |
| Deallocate. | |
| subroutine | allocate_arrays (this) |
| Allocate arrays. | |
| subroutine | gwf_gwf_df_obs (this) |
| Define observations. | |
| subroutine | gwf_gwf_rp_obs (this) |
| Read and prepare observations. | |
| subroutine | gwf_gwf_fp (this) |
| Final processing. | |
| real(dp) function | qcalc (this, iexg, n1, n2) |
| Calculate flow. | |
| integer(i4b) function | gwf_gwf_get_iasym (this) |
| Set symmetric flag. | |
| logical(lgp) function | gwf_gwf_connects_model (this, model) |
Return true when this exchange provides matrix coefficients for solving model. | |
| logical(lgp) function | use_interface_model (this) |
| Should interface model be used for this exchange. | |
| subroutine | gwf_gwf_save_simvals (this) |
| Save simulated flow observations. | |
| subroutine | gwf_gwf_process_obsid (obsrv, dis, inunitobs, iout) |
| Obs ID processor. | |
| class(gwfexchangetype) function, pointer, public | castasgwfexchange (obj) |
| Cast polymorphic object as exchange. | |
| class(gwfexchangetype) function, pointer, public | getgwfexchangefromlist (list, idx) |
| Get exchange from list. | |
This module contains the code for connecting two GWF Models. The methods are based on the simple two point flux approximation with the option to use ghost nodes to improve accuracy. This exchange is used by GwfGwfConnection with the more sophisticated interface model coupling approach when XT3D is needed.
|
private |
Allocate arrays
| this | GwfExchangeType |
Definition at line 1737 of file exg-gwfgwf.f90.

|
private |
Allocate scalar variables
| this | GwfExchangeType |
Definition at line 1649 of file exg-gwfgwf.f90.
|
private |
| this | GwfExchangeType |
Definition at line 1467 of file exg-gwfgwf.f90.

| class(gwfexchangetype) function, pointer, public gwfgwfexchangemodule::castasgwfexchange | ( | class(*), intent(inout), pointer | obj | ) |
Cast polymorphic object as exchange
Definition at line 2076 of file exg-gwfgwf.f90.

|
private |
Calculate the conductance based on state
| this | GwfExchangeType |
Definition at line 1558 of file exg-gwfgwf.f90.

| class(gwfexchangetype) function, pointer, public gwfgwfexchangemodule::getgwfexchangefromlist | ( | type(listtype), intent(inout) | list, |
| integer(i4b), intent(in) | idx ) |
Return an exchange from the list for specified index
Definition at line 2096 of file exg-gwfgwf.f90.


|
private |
Override parent exg_ac so that gnc can add connections here.
| this | GwfExchangeType |
Definition at line 363 of file exg-gwfgwf.f90.
|
private |
Advance mover and obs
| this | GwfExchangeType |
Definition at line 455 of file exg-gwfgwf.f90.
|
private |
| this | GwfExchangeType |
Definition at line 713 of file exg-gwfgwf.f90.
|
private |
Allocated and read and calculate saturated conductance
| this | GwfExchangeType |
Definition at line 417 of file exg-gwfgwf.f90.
|
private |
Accumulate budget terms
| this | GwfExchangeType |
Definition at line 858 of file exg-gwfgwf.f90.

|
private |
Output individual flows to listing file and binary budget files
| this | GwfExchangeType |
Definition at line 967 of file exg-gwfgwf.f90.
|
private |
| this | this exchange |
| model | the model to save budget for |
Definition at line 997 of file exg-gwfgwf.f90.
|
private |
| this | GwfExchangeType |
Definition at line 683 of file exg-gwfgwf.f90.
|
private |
Rewet as necessary
| this | GwfExchangeType |
Definition at line 470 of file exg-gwfgwf.f90.
|
private |
Account for flow from an external model into a chd cell
| this | GwfExchangeType |
Definition at line 904 of file exg-gwfgwf.f90.

|
private |
| this | GwfExchangeType | |
| [in] | model | the model to which the exchange might hold a connection |
Definition at line 1946 of file exg-gwfgwf.f90.
|
private |
Calculate flow between two cells and store in simvals, also set information needed for specific discharge calculation
| this | GwfExchangeType |
Definition at line 663 of file exg-gwfgwf.f90.
|
private |
Deallocate memory associated with this object
| this | GwfExchangeType |
Definition at line 1680 of file exg-gwfgwf.f90.
|
private |
Define GWF to GWF exchange object.
| this | GwfExchangeType |
Definition at line 206 of file exg-gwfgwf.f90.

|
private |
Define the observations associated with this object
| this | GwfExchangeType |
Definition at line 1808 of file exg-gwfgwf.f90.

|
private |
Calculate conductance and fill coefficient matrix
| this | GwfExchangeType |
Definition at line 488 of file exg-gwfgwf.f90.

|
private |
Fill amatsln with Newton terms
| this | GwfExchangeType |
Definition at line 556 of file exg-gwfgwf.f90.

|
private |
Conduct any final processing
| this | GwfExchangeType |
Definition at line 1897 of file exg-gwfgwf.f90.
|
private |
Return flag indicating whether or not this exchange will cause the coefficient matrix to be asymmetric.
| this | GwfExchangeType |
Definition at line 1925 of file exg-gwfgwf.f90.
|
private |
Map the connections in the global matrix
| this | GwfExchangeType |
| matrix_sln | the system matrix |
Definition at line 390 of file exg-gwfgwf.f90.
|
private |
Write output
| this | GwfExchangeType |
Definition at line 1159 of file exg-gwfgwf.f90.
|
private |
Process observations for this exchange
Definition at line 2037 of file exg-gwfgwf.f90.


|
private |
Read new data for mover and obs
| this | GwfExchangeType |
Definition at line 435 of file exg-gwfgwf.f90.
|
private |
Handle observation exchanges exchange-boundary names.
| this | GwfExchangeType |
Definition at line 1824 of file exg-gwfgwf.f90.

|
private |
Save the simulated flows for each exchange
Definition at line 1992 of file exg-gwfgwf.f90.

|
private |
| this | GwfExchangeType |
Definition at line 747 of file exg-gwfgwf.f90.

| subroutine, public gwfgwfexchangemodule::gwfexchange_create | ( | character(len=*), intent(in) | filename, |
| character(len=*) | name, | ||
| integer(i4b), intent(in) | id, | ||
| integer(i4b), intent(in) | m1_id, | ||
| integer(i4b), intent(in) | m2_id, | ||
| character(len=*), intent(in) | input_mempath ) |
Create a new GWF to GWF exchange object.
| [in] | filename | filename for reading |
| name | exchange name | |
| [in] | id | id for the exchange |
| [in] | m1_id | id for model 1 |
| [in] | m2_id | id for model 2 |
Definition at line 121 of file exg-gwfgwf.f90.


|
private |
Calculate the flow for the specified exchange and node numbers
| this | GwfExchangeType |
Definition at line 1906 of file exg-gwfgwf.f90.


|
private |
Read and process ghost nodes
| this | GwfExchangeType |
Definition at line 1335 of file exg-gwfgwf.f90.

|
private |
Read and process movers
| this | GwfExchangeType |
Definition at line 1389 of file exg-gwfgwf.f90.

|
private |
Check if rewetting should propagate from one model to another
| this | GwfExchangeType |
Definition at line 1420 of file exg-gwfgwf.f90.
|
private |
Source the options block
| this | GwfExchangeType |
Definition at line 1230 of file exg-gwfgwf.f90.

|
private |
| this | GwfExchangeType |
Definition at line 1968 of file exg-gwfgwf.f90.
|
private |
| this | GwfExchangeType |
Definition at line 273 of file exg-gwfgwf.f90.
