![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
GWE and GWT work fully analogously, so we can do with only one virtual exchange for both, at least for now. More...


Public Member Functions | |
| procedure | create (this, name, exg_id, m1_id, m2_id) |
| Create a virtual GWT-GWT exchange. | |
| procedure | destroy (this) |
| procedure | prepare_stage (this, stage) |
| procedure | get_send_items (this, stg, rank, vi) |
| procedure | get_recv_items (this, stg, rank, vi) |
| procedure | has_mover (this) |
| Override. | |
| procedure | create (this, name, exg_id, m1_id, m2_id) |
| Create the virtual exchange base. | |
| procedure | prepare_stage (this, stage) |
| procedure | prepare_stage (this, stage) |
| procedure | get_send_items (this, stg, rank, vi) |
| procedure | get_send_items (this, stg, rank, vi) |
| Get indexes of virtual data items to be. | |
| procedure | get_recv_items (this, stg, rank, vi) |
| procedure | get_recv_items (this, stg, rank, vi) |
| Get indexes of virtual data items to be. | |
| procedure | has_mover (this) |
| Checks if there is an active mover in the exchange. | |
| procedure | destroy (this) |
| procedure | destroy (this) |
| procedure | add_vdi_for_stage (this, vdata_item, stage, virtual_items) |
| Convenience routine to add virtual data item to a list. | |
| procedure | vdc_create (this, name, id, is_local) |
| generic | map (this, vd, stages) |
| generic | map (this, vd, nrow, stages) |
| generic | map (this, vd, ncol, nrow, stages) |
| procedure | link_items (this, stage) |
| Link all local data items to memory. | |
| procedure | set_element_map (this, src_indexes, map_id) |
| Add the source indexes associated with map_id as a element map to this container, such that. | |
| procedure | get_vrt_mem_path (this, var_name, subcomp_name) |
| Get virtual memory path for a certain variable. | |
| procedure | set_orig_rank (this, rank) |
| procedure | get_virtual_data (this, var_name, subcomp_name) |
| procedure | print_items (this, imon, items) |
| procedure | set (this, field, var_name, subcmp_name, map_id, is_local) |
| Init virtual data item, without allocation, and store it in this container. The 'is_local' flag makes it possible to mark some fields local in an. | |
Public Attributes | |
| type(virtualinttype), pointer | inmvt => null() |
| type(virtualdbl1dtype), pointer | gwfsimvals => null() |
| type(virtualinttype), pointer | mvt_maxmvt => null() |
| type(virtualdbl1dtype), pointer | mvt_quantity_m1 => null() |
| type(virtualdbl1dtype), pointer | mvt_quantity_m2 => null() |
| logical(lgp) | quantities_mapped |
| class(virtualmodeltype), pointer | v_model1 => null() |
| class(virtualmodeltype), pointer | v_model2 => null() |
| type(virtualinttype), pointer | nexg => null() |
| type(virtualinttype), pointer | naux => null() |
| type(virtualinttype), pointer | ianglex => null() |
| type(virtualint1dtype), pointer | nodem1 => null() |
| type(virtualint1dtype), pointer | nodem2 => null() |
| type(virtualint1dtype), pointer | ihc => null() |
| type(virtualdbl1dtype), pointer | cl1 => null() |
| type(virtualdbl1dtype), pointer | cl2 => null() |
| type(virtualdbl1dtype), pointer | hwva => null() |
| type(virtualdbl2dtype), pointer | auxvar => null() |
| integer(i4b) | id |
| unique identifier matching with the real counterpart | |
| integer(i4b) | container_type |
| to identify the actual type of this container | |
| character(lencomponentname) | name |
| container name (model, exchange, ...) used in the memory path | |
| character(lencontextname) | vmem_ctx |
| prefixes virtual memory located on remote processes | |
| logical(lgp) | is_local |
| when true, the physical object resides on the same process. However, some of its variables can still be remote | |
| logical(lgp) | is_active |
| when true, this container is being synchronized | |
| integer(i4b) | orig_rank |
| the global rank of the process which holds the physical data for this container, for exchanges this is set to be where model1 sits, or if model1 is local, where model2 sits | |
| type(stlvecint) | rcv_ranks |
| the ranks of processes, other than orig_rank, having this container active (only guaranteed to be complete after synchronization) | |
| type(listtype) | virtual_data_list |
| a list with all virtual data items for this container | |
| type(vdcelementmaptype), dimension(nr_vdc_element_maps) | element_maps |
| a list with all element maps | |
| type(vdcelementluttype), dimension(nr_vdc_element_maps) | element_luts |
| lookup tables from remote index to local index | |
Private Member Functions | |
| procedure, private | init_virtual_data (this) |
| procedure, private | allocate_data (this) |
| procedure, private | deallocate_data (this) |
| procedure, private | add_to_list (this, virtual_data) |
| procedure, private | map_scalar (this, vd, stages) |
| procedure, private | map_array1d (this, vd, nrow, stages) |
| procedure, private | map_array2d (this, vd, ncol, nrow, stages) |
| procedure, private | map_internal (this, vd, shape, stages) |
| procedure, private | vdc_get_virtual_data (this, var_name, subcomp_name) |
| procedure, private | get_items_for_stage (this, stage, virtual_items) |
Private Attributes | |
| logical(lgp), private | has_mvt |
| backing field for function | |
Definition at line 18 of file VirtualTspExchange.f90.
|
privateinherited |
Definition at line 86 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 91 of file VirtualExchange.f90.
|
private |
Definition at line 36 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 84 of file VirtualExchange.f90.
| procedure virtualtspexchangemodule::virtualtspexchangetype::create | ( | class(virtualtspexchangetype) | this, |
| character(len=*) | name, | ||
| integer(i4b) | exg_id, | ||
| integer(i4b) | m1_id, | ||
| integer(i4b) | m2_id ) |
Definition at line 28 of file VirtualTspExchange.f90.
|
private |
Definition at line 37 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 77 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 89 of file VirtualExchange.f90.
| procedure virtualtspexchangemodule::virtualtspexchangetype::destroy | ( | class(virtualtspexchangetype) | this | ) |
Definition at line 29 of file VirtualTspExchange.f90.
|
privateinherited |
Definition at line 92 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 80 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 87 of file VirtualExchange.f90.
| procedure virtualtspexchangemodule::virtualtspexchangetype::get_recv_items | ( | class(virtualtspexchangetype) | this, |
| integer(i4b) | stg, | ||
| integer(i4b) | rank, | ||
| type(stlvecint) | vi ) |
| stg | stage |
| rank | rank of remote process |
| vi | virtual data items |
Definition at line 32 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 79 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 86 of file VirtualExchange.f90.
| procedure virtualtspexchangemodule::virtualtspexchangetype::get_send_items | ( | class(virtualtspexchangetype) | this, |
| integer(i4b) | stg, | ||
| integer(i4b) | rank, | ||
| type(stlvecint) | vi ) |
| stg | stage |
| rank | rank of remote process |
| vi | virtual data items |
Definition at line 31 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 81 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 76 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 88 of file VirtualExchange.f90.
| procedure virtualtspexchangemodule::virtualtspexchangetype::has_mover | ( | class(virtualtspexchangetype) | this | ) |
Definition at line 33 of file VirtualTspExchange.f90.
|
private |
Definition at line 35 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 74 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 72 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 72 of file VirtualDataContainer.f90.
|
inherited |
|
privateinherited |
Definition at line 88 of file VirtualDataContainer.f90.
|
privateinherited |
Definition at line 89 of file VirtualDataContainer.f90.
|
privateinherited |
Definition at line 90 of file VirtualDataContainer.f90.
|
privateinherited |
Definition at line 87 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 73 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 85 of file VirtualExchange.f90.
| procedure virtualtspexchangemodule::virtualtspexchangetype::prepare_stage | ( | class(virtualtspexchangetype) | this, |
| integer(i4b) | stage ) |
Definition at line 30 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 82 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 84 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 75 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 78 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 71 of file VirtualDataContainer.f90.
|
privateinherited |
Definition at line 91 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 82 of file VirtualExchange.f90.
|
inherited |
Definition at line 79 of file VirtualExchange.f90.
|
inherited |
Definition at line 80 of file VirtualExchange.f90.
|
inherited |
Definition at line 55 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 69 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 68 of file VirtualDataContainer.f90.
| type(virtualdbl1dtype), pointer virtualtspexchangemodule::virtualtspexchangetype::gwfsimvals => null() |
Definition at line 20 of file VirtualTspExchange.f90.
|
private |
Definition at line 26 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 81 of file VirtualExchange.f90.
|
inherited |
Definition at line 74 of file VirtualExchange.f90.
|
inherited |
Definition at line 54 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 78 of file VirtualExchange.f90.
| type(virtualinttype), pointer virtualtspexchangemodule::virtualtspexchangetype::inmvt => null() |
Definition at line 19 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 60 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 58 of file VirtualDataContainer.f90.
| type(virtualinttype), pointer virtualtspexchangemodule::virtualtspexchangetype::mvt_maxmvt => null() |
Definition at line 21 of file VirtualTspExchange.f90.
| type(virtualdbl1dtype), pointer virtualtspexchangemodule::virtualtspexchangetype::mvt_quantity_m1 => null() |
Definition at line 22 of file VirtualTspExchange.f90.
| type(virtualdbl1dtype), pointer virtualtspexchangemodule::virtualtspexchangetype::mvt_quantity_m2 => null() |
Definition at line 23 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 56 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 73 of file VirtualExchange.f90.
|
inherited |
Definition at line 72 of file VirtualExchange.f90.
|
inherited |
Definition at line 76 of file VirtualExchange.f90.
|
inherited |
Definition at line 77 of file VirtualExchange.f90.
|
inherited |
Definition at line 61 of file VirtualDataContainer.f90.
| logical(lgp) virtualtspexchangemodule::virtualtspexchangetype::quantities_mapped |
Definition at line 24 of file VirtualTspExchange.f90.
|
inherited |
Definition at line 64 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 69 of file VirtualExchange.f90.
|
inherited |
Definition at line 70 of file VirtualExchange.f90.
|
inherited |
Definition at line 67 of file VirtualDataContainer.f90.
|
inherited |
Definition at line 57 of file VirtualDataContainer.f90.