MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
This module contains the GwtGwtExchangeModule Module. More...
Data Types | |
type | gwtexchangetype |
Derived type for GwtExchangeType. More... | |
Functions/Subroutines | |
subroutine, public | gwtexchange_create (filename, name, id, m1_id, m2_id, input_mempath) |
@ brief Create GWT GWT exchange More... | |
subroutine | gwt_gwt_df (this) |
@ brief Define GWT GWT exchange More... | |
subroutine | validate_exchange (this) |
validate exchange data after reading More... | |
subroutine | gwt_gwt_ar (this) |
@ brief Allocate and read More... | |
subroutine | gwt_gwt_rp (this) |
@ brief Read and prepare More... | |
subroutine | gwt_gwt_ad (this) |
@ brief Advance More... | |
subroutine | gwt_gwt_fc (this, kiter, matrix_sln, rhs_sln, inwtflag) |
@ brief Fill coefficients More... | |
subroutine | gwt_gwt_bd (this, icnvg, isuppress_output, isolnid) |
@ brief Budget More... | |
subroutine | gwt_gwt_bdsav (this) |
@ brief Budget save More... | |
subroutine | gwt_gwt_bdsav_model (this, model) |
@ brief Budget save More... | |
subroutine | gwt_gwt_ot (this) |
@ brief Output More... | |
subroutine | source_options (this, iout) |
@ brief Source options More... | |
subroutine | read_mvt (this, iout) |
@ brief Read mover More... | |
subroutine | allocate_scalars (this) |
@ brief Allocate scalars More... | |
subroutine | gwt_gwt_da (this) |
@ brief Deallocate More... | |
subroutine | allocate_arrays (this) |
@ brief Allocate arrays More... | |
subroutine | gwt_gwt_df_obs (this) |
@ brief Define observations More... | |
subroutine | gwt_gwt_rp_obs (this) |
@ brief Read and prepare observations More... | |
subroutine | gwt_gwt_fp (this) |
@ brief Final processing More... | |
logical(lgp) function | gwt_gwt_connects_model (this, model) |
Return true when this exchange provides matrix coefficients for solving. More... | |
logical(lgp) function | use_interface_model (this) |
Should interface model be used for this exchange. More... | |
subroutine | gwt_gwt_save_simvals (this) |
@ brief Save simulated flow observations More... | |
subroutine | gwt_gwt_process_obsid (obsrv, dis, inunitobs, iout) |
@ brief Obs ID processor More... | |
class(gwtexchangetype) function, pointer, public | castasgwtexchange (obj) |
@ brief Cast polymorphic object as exchange More... | |
class(gwtexchangetype) function, pointer, public | getgwtexchangefromlist (list, idx) |
@ brief Get exchange from list More... | |
This module contains the code for connecting two GWT 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 GwtGwtConnection with the more sophisticated interface model coupling approach when XT3D is needed.
subroutine gwtgwtexchangemodule::allocate_arrays | ( | class(gwtexchangetype) | this | ) |
Allocate arrays
this | GwtExchangeType |
Definition at line 848 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::allocate_scalars | ( | class(gwtexchangetype) | this | ) |
Allocate scalar variables
this | GwtExchangeType |
Definition at line 778 of file exg-gwtgwt.f90.
class(gwtexchangetype) function, pointer, public gwtgwtexchangemodule::castasgwtexchange | ( | class(*), intent(inout), pointer | obj | ) |
Cast polymorphic object as exchange
Definition at line 1137 of file exg-gwtgwt.f90.
class(gwtexchangetype) function, pointer, public gwtgwtexchangemodule::getgwtexchangefromlist | ( | type(listtype), intent(inout) | list, |
integer(i4b), intent(in) | idx | ||
) |
Return an exchange from the list for specified index
Definition at line 1157 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_ad | ( | class(gwtexchangetype) | this | ) |
|
private |
Allocated and read and calculate saturated conductance
this | GwtExchangeType |
Definition at line 305 of file exg-gwtgwt.f90.
|
private |
Accumulate budget terms
this | GwtExchangeType |
Definition at line 371 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_bdsav | ( | class(gwtexchangetype) | this | ) |
Output individual flows to listing file and binary budget files
this | GwtExchangeType |
Definition at line 413 of file exg-gwtgwt.f90.
|
private |
Output individual flows to listing file and binary budget files
this | GwtExchangeType |
Definition at line 447 of file exg-gwtgwt.f90.
|
private |
model | ||
this | GwtExchangeType | |
[in] | model | the model to which the exchange might hold a connection |
Definition at line 1011 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_da | ( | class(gwtexchangetype) | this | ) |
Deallocate memory associated with this object
this | GwtExchangeType |
Definition at line 802 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_df | ( | class(gwtexchangetype) | this | ) |
Define GWT to GWT exchange object.
this | GwtExchangeType |
Definition at line 194 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_df_obs | ( | class(gwtexchangetype) | this | ) |
Define the observations associated with this object
this | GwtExchangeType |
Definition at line 916 of file exg-gwtgwt.f90.
|
private |
Calculate conductance and fill coefficient matrix
this | GwtExchangeType |
Definition at line 355 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_fp | ( | class(gwtexchangetype) | this | ) |
Conduct any final processing
this | GwtExchangeType |
Definition at line 1003 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::gwt_gwt_ot | ( | class(gwtexchangetype) | this | ) |
subroutine gwtgwtexchangemodule::gwt_gwt_process_obsid | ( | type(observetype), intent(inout) | obsrv, |
class(disbasetype), intent(in) | dis, | ||
integer(i4b), intent(in) | inunitobs, | ||
integer(i4b), intent(in) | iout | ||
) |
Process observations for this exchange
Definition at line 1098 of file exg-gwtgwt.f90.
|
private |
Read new data for mover and obs
this | GwtExchangeType |
Definition at line 320 of file exg-gwtgwt.f90.
|
private |
Handle observation exchanges exchange-boundary names.
this | GwtExchangeType |
Definition at line 932 of file exg-gwtgwt.f90.
|
private |
Save the simulated flows for each exchange
Definition at line 1054 of file exg-gwtgwt.f90.
subroutine, public gwtgwtexchangemodule::gwtexchange_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 GWT to GWT exchange object.
[in] | filename | filename for reading |
[in] | id | id for the exchange |
name | the exchange name | |
[in] | m1_id | id for model 1 |
[in] | m2_id | id for model 2 |
Definition at line 109 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::read_mvt | ( | class(gwtexchangetype) | this, |
integer(i4b), intent(in) | iout | ||
) |
Read and process movers
this | GwtExchangeType |
Definition at line 757 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::source_options | ( | class(gwtexchangetype) | this, |
integer(i4b), intent(in) | iout | ||
) |
Source the options block
this | GwtExchangeType |
Definition at line 669 of file exg-gwtgwt.f90.
|
private |
For now this always returns true, since we do not support a classic-style two-point flux approximation for GWT-GWT. If we ever add logic to support a simpler non-interface model flux calculation, then logic should be added here to set the return accordingly.
this | GwtExchangeType |
Definition at line 1039 of file exg-gwtgwt.f90.
subroutine gwtgwtexchangemodule::validate_exchange | ( | class(gwtexchangetype) | this | ) |
this | GwtExchangeType |
Definition at line 246 of file exg-gwtgwt.f90.