MODFLOW 6  version 6.7.0.dev3
USGS Modular Hydrologic Model
virtualgwfexchangemodule::virtualgwfexchangetype Type Reference

For synchronization of GWF specific exchange data: More...

Inheritance diagram for virtualgwfexchangemodule::virtualgwfexchangetype:
Inheritance graph
Collaboration diagram for virtualgwfexchangemodule::virtualgwfexchangetype:
Collaboration graph

Public Member Functions

procedure create => vfx_create
 
procedure prepare_stage => vfx_prepare_stage
 
procedure destroy => vfx_destroy
 
procedure get_send_items => vfx_get_send_items
 
procedure get_recv_items => vfx_get_recv_items
 
procedure has_mover => vfx_has_mover
 
procedure add_vdi_for_stage
 
procedure vdc_create
 
generic map => map_scalar, map_array1d, map_array2d
 
procedure link_items => vdc_link_items
 
procedure set_element_map => vdc_set_element_map
 
procedure get_vrt_mem_path => vdc_get_vrt_mem_path
 
procedure set_orig_rank => vdc_set_orig_rank
 
procedure get_virtual_data => vdc_get_virtual_data
 
procedure print_items
 
procedure set
 

Public Attributes

type(virtualinttype), pointer inmvr => null()
 
type(virtualinttype), pointer mvr_maxmvr => null()
 
type(virtualdbl1dtype), pointer mvr_qpactual_m1 => null()
 
type(virtualdbl1dtype), pointer mvr_qpactual_m2 => null()
 
type(virtualdbl1dtype), pointer mvr_qavailable_m1 => null()
 
type(virtualdbl1dtype), pointer mvr_qavailable_m2 => null()
 
type(virtualint1dtype), pointer mvr_id_mapped_m1 => null()
 
type(virtualint1dtype), pointer mvr_id_mapped_m2 => null()
 
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 More...
 
integer(i4b) container_type
 to identify the actual type of this container More...
 
character(lencomponentname) name
 container name (model, exchange, ...) used in the memory path More...
 
character(lencontextname) vmem_ctx
 prefixes virtual memory located on remote processes More...
 
logical(lgp) is_local
 when true, the physical object resides on the same process. However, some of its variables can still be remote More...
 
logical(lgp) is_active
 when true, this container is being synchronized More...
 
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 More...
 
type(stlvecintrcv_ranks
 the ranks of processes, other than orig_rank, having this container active (only guaranteed to be complete after synchronization) More...
 
type(listtypevirtual_data_list
 a list with all virtual data items for this container More...
 
type(vdcelementmaptype), dimension(nr_vdc_element_maps) element_maps
 a list with all element maps More...
 
type(vdcelementluttype), dimension(nr_vdc_element_maps) element_luts
 lookup tables from remote index to local index More...
 

Private Member Functions

procedure, private allocate_data
 
procedure, private deallocate_data
 
procedure, private init_virtual_data
 
procedure, private add_to_list
 
procedure, private map_scalar
 
procedure, private map_array1d
 
procedure, private map_array2d
 
procedure, private map_internal
 
procedure, private vdc_get_virtual_data
 
procedure, private get_items_for_stage
 

Private Attributes

logical(lgp), private has_mvr
 backing field for function More...
 

Detailed Description

Definition at line 16 of file VirtualGwfExchange.f90.

Member Function/Subroutine Documentation

◆ add_to_list()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::add_to_list
privateinherited

Definition at line 86 of file VirtualDataContainer.f90.

◆ add_vdi_for_stage()

procedure virtualexchangemodule::virtualexchangetype::add_vdi_for_stage
inherited

Definition at line 91 of file VirtualExchange.f90.

◆ allocate_data()

procedure, private virtualgwfexchangemodule::virtualgwfexchangetype::allocate_data
private

Definition at line 35 of file VirtualGwfExchange.f90.

◆ create()

procedure virtualgwfexchangemodule::virtualgwfexchangetype::create

Definition at line 28 of file VirtualGwfExchange.f90.

◆ deallocate_data()

procedure, private virtualgwfexchangemodule::virtualgwfexchangetype::deallocate_data
private

Definition at line 36 of file VirtualGwfExchange.f90.

◆ destroy()

procedure virtualgwfexchangemodule::virtualgwfexchangetype::destroy

Definition at line 30 of file VirtualGwfExchange.f90.

◆ get_items_for_stage()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::get_items_for_stage
privateinherited

Definition at line 92 of file VirtualDataContainer.f90.

◆ get_recv_items()

procedure virtualgwfexchangemodule::virtualgwfexchangetype::get_recv_items

Definition at line 32 of file VirtualGwfExchange.f90.

◆ get_send_items()

procedure virtualgwfexchangemodule::virtualgwfexchangetype::get_send_items

Definition at line 31 of file VirtualGwfExchange.f90.

◆ get_virtual_data()

procedure virtualdatacontainermodule::virtualdatacontainertype::get_virtual_data
inherited

Definition at line 81 of file VirtualDataContainer.f90.

◆ get_vrt_mem_path()

procedure virtualdatacontainermodule::virtualdatacontainertype::get_vrt_mem_path
inherited

Definition at line 76 of file VirtualDataContainer.f90.

◆ has_mover()

procedure virtualgwfexchangemodule::virtualgwfexchangetype::has_mover

Definition at line 33 of file VirtualGwfExchange.f90.

◆ init_virtual_data()

procedure, private virtualgwfexchangemodule::virtualgwfexchangetype::init_virtual_data
private

Definition at line 37 of file VirtualGwfExchange.f90.

◆ link_items()

procedure virtualdatacontainermodule::virtualdatacontainertype::link_items
inherited

Definition at line 74 of file VirtualDataContainer.f90.

◆ map()

generic virtualdatacontainermodule::virtualdatacontainertype::map
inherited

Definition at line 72 of file VirtualDataContainer.f90.

Here is the call graph for this function:

◆ map_array1d()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::map_array1d
privateinherited

Definition at line 88 of file VirtualDataContainer.f90.

◆ map_array2d()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::map_array2d
privateinherited

Definition at line 89 of file VirtualDataContainer.f90.

◆ map_internal()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::map_internal
privateinherited

Definition at line 90 of file VirtualDataContainer.f90.

◆ map_scalar()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::map_scalar
privateinherited

Definition at line 87 of file VirtualDataContainer.f90.

◆ prepare_stage()

procedure virtualgwfexchangemodule::virtualgwfexchangetype::prepare_stage

Definition at line 29 of file VirtualGwfExchange.f90.

◆ print_items()

procedure virtualdatacontainermodule::virtualdatacontainertype::print_items
inherited

Definition at line 82 of file VirtualDataContainer.f90.

◆ set()

procedure virtualdatacontainermodule::virtualdatacontainertype::set
inherited

Definition at line 84 of file VirtualDataContainer.f90.

◆ set_element_map()

procedure virtualdatacontainermodule::virtualdatacontainertype::set_element_map
inherited

Definition at line 75 of file VirtualDataContainer.f90.

◆ set_orig_rank()

procedure virtualdatacontainermodule::virtualdatacontainertype::set_orig_rank
inherited

Definition at line 78 of file VirtualDataContainer.f90.

◆ vdc_create()

procedure virtualdatacontainermodule::virtualdatacontainertype::vdc_create
inherited

Definition at line 71 of file VirtualDataContainer.f90.

◆ vdc_get_virtual_data()

procedure, private virtualdatacontainermodule::virtualdatacontainertype::vdc_get_virtual_data
privateinherited

Definition at line 91 of file VirtualDataContainer.f90.

Member Data Documentation

◆ auxvar

type(virtualdbl2dtype), pointer virtualexchangemodule::virtualexchangetype::auxvar => null()
inherited

Definition at line 82 of file VirtualExchange.f90.

82  type(VirtualDbl2dType), pointer :: auxvar => null()

◆ cl1

type(virtualdbl1dtype), pointer virtualexchangemodule::virtualexchangetype::cl1 => null()
inherited

Definition at line 79 of file VirtualExchange.f90.

79  type(VirtualDbl1dType), pointer :: cl1 => null()

◆ cl2

type(virtualdbl1dtype), pointer virtualexchangemodule::virtualexchangetype::cl2 => null()
inherited

Definition at line 80 of file VirtualExchange.f90.

80  type(VirtualDbl1dType), pointer :: cl2 => null()

◆ container_type

integer(i4b) virtualdatacontainermodule::virtualdatacontainertype::container_type
inherited

Definition at line 55 of file VirtualDataContainer.f90.

55  integer(I4B) :: container_type !< to identify the actual type of this container

◆ element_luts

type(vdcelementluttype), dimension(nr_vdc_element_maps) virtualdatacontainermodule::virtualdatacontainertype::element_luts
inherited

Definition at line 69 of file VirtualDataContainer.f90.

69  type(VdcElementLutType), dimension(NR_VDC_ELEMENT_MAPS) :: element_luts !< lookup tables from remote index to local index

◆ element_maps

type(vdcelementmaptype), dimension(nr_vdc_element_maps) virtualdatacontainermodule::virtualdatacontainertype::element_maps
inherited

Definition at line 68 of file VirtualDataContainer.f90.

68  type(VdcElementMapType), dimension(NR_VDC_ELEMENT_MAPS) :: element_maps !< a list with all element maps

◆ has_mvr

logical(lgp), private virtualgwfexchangemodule::virtualgwfexchangetype::has_mvr
private

Definition at line 26 of file VirtualGwfExchange.f90.

26  logical(LGP), private :: has_mvr !< backing field for function

◆ hwva

type(virtualdbl1dtype), pointer virtualexchangemodule::virtualexchangetype::hwva => null()
inherited

Definition at line 81 of file VirtualExchange.f90.

81  type(VirtualDbl1dType), pointer :: hwva => null()

◆ ianglex

type(virtualinttype), pointer virtualexchangemodule::virtualexchangetype::ianglex => null()
inherited

Definition at line 74 of file VirtualExchange.f90.

74  type(VirtualIntType), pointer :: ianglex => null()

◆ id

integer(i4b) virtualdatacontainermodule::virtualdatacontainertype::id
inherited

Definition at line 54 of file VirtualDataContainer.f90.

54  integer(I4B) :: id !< unique identifier matching with the real counterpart

◆ ihc

type(virtualint1dtype), pointer virtualexchangemodule::virtualexchangetype::ihc => null()
inherited

Definition at line 78 of file VirtualExchange.f90.

78  type(VirtualInt1dType), pointer :: ihc => null()

◆ inmvr

type(virtualinttype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::inmvr => null()

Definition at line 17 of file VirtualGwfExchange.f90.

17  type(VirtualIntType), pointer :: inmvr => null()

◆ is_active

logical(lgp) virtualdatacontainermodule::virtualdatacontainertype::is_active
inherited

Definition at line 60 of file VirtualDataContainer.f90.

60  logical(LGP) :: is_active !< when true, this container is being synchronized

◆ is_local

logical(lgp) virtualdatacontainermodule::virtualdatacontainertype::is_local
inherited

Definition at line 58 of file VirtualDataContainer.f90.

58  logical(LGP) :: is_local !< when true, the physical object resides on the same process. However,

◆ mvr_id_mapped_m1

type(virtualint1dtype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_id_mapped_m1 => null()

Definition at line 23 of file VirtualGwfExchange.f90.

23  type(VirtualInt1dType), pointer :: mvr_id_mapped_m1 => null()

◆ mvr_id_mapped_m2

type(virtualint1dtype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_id_mapped_m2 => null()

Definition at line 24 of file VirtualGwfExchange.f90.

24  type(VirtualInt1dType), pointer :: mvr_id_mapped_m2 => null()

◆ mvr_maxmvr

type(virtualinttype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_maxmvr => null()

Definition at line 18 of file VirtualGwfExchange.f90.

18  type(VirtualIntType), pointer :: mvr_maxmvr => null()

◆ mvr_qavailable_m1

type(virtualdbl1dtype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_qavailable_m1 => null()

Definition at line 21 of file VirtualGwfExchange.f90.

21  type(VirtualDbl1dType), pointer :: mvr_qavailable_m1 => null()

◆ mvr_qavailable_m2

type(virtualdbl1dtype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_qavailable_m2 => null()

Definition at line 22 of file VirtualGwfExchange.f90.

22  type(VirtualDbl1dType), pointer :: mvr_qavailable_m2 => null()

◆ mvr_qpactual_m1

type(virtualdbl1dtype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_qpactual_m1 => null()

Definition at line 19 of file VirtualGwfExchange.f90.

19  type(VirtualDbl1dType), pointer :: mvr_qpactual_m1 => null()

◆ mvr_qpactual_m2

type(virtualdbl1dtype), pointer virtualgwfexchangemodule::virtualgwfexchangetype::mvr_qpactual_m2 => null()

Definition at line 20 of file VirtualGwfExchange.f90.

20  type(VirtualDbl1dType), pointer :: mvr_qpactual_m2 => null()

◆ name

character(lencomponentname) virtualdatacontainermodule::virtualdatacontainertype::name
inherited

Definition at line 56 of file VirtualDataContainer.f90.

56  character(LENCOMPONENTNAME) :: name !< container name (model, exchange, ...) used in the memory path

◆ naux

type(virtualinttype), pointer virtualexchangemodule::virtualexchangetype::naux => null()
inherited

Definition at line 73 of file VirtualExchange.f90.

73  type(VirtualIntType), pointer :: naux => null()

◆ nexg

type(virtualinttype), pointer virtualexchangemodule::virtualexchangetype::nexg => null()
inherited

Definition at line 72 of file VirtualExchange.f90.

72  type(VirtualIntType), pointer :: nexg => null()

◆ nodem1

type(virtualint1dtype), pointer virtualexchangemodule::virtualexchangetype::nodem1 => null()
inherited

Definition at line 76 of file VirtualExchange.f90.

76  type(VirtualInt1dType), pointer :: nodem1 => null()

◆ nodem2

type(virtualint1dtype), pointer virtualexchangemodule::virtualexchangetype::nodem2 => null()
inherited

Definition at line 77 of file VirtualExchange.f90.

77  type(VirtualInt1dType), pointer :: nodem2 => null()

◆ orig_rank

integer(i4b) virtualdatacontainermodule::virtualdatacontainertype::orig_rank
inherited

Definition at line 61 of file VirtualDataContainer.f90.

61  integer(I4B) :: orig_rank !< the global rank of the process which holds the physical data for this container,

◆ rcv_ranks

type(stlvecint) virtualdatacontainermodule::virtualdatacontainertype::rcv_ranks
inherited

Definition at line 64 of file VirtualDataContainer.f90.

64  type(STLVecInt) :: rcv_ranks !< the ranks of processes, other than orig_rank, having this container active

◆ v_model1

class(virtualmodeltype), pointer virtualexchangemodule::virtualexchangetype::v_model1 => null()
inherited

Definition at line 69 of file VirtualExchange.f90.

69  class(VirtualModelType), pointer :: v_model1 => null()

◆ v_model2

class(virtualmodeltype), pointer virtualexchangemodule::virtualexchangetype::v_model2 => null()
inherited

Definition at line 70 of file VirtualExchange.f90.

70  class(VirtualModelType), pointer :: v_model2 => null()

◆ virtual_data_list

type(listtype) virtualdatacontainermodule::virtualdatacontainertype::virtual_data_list
inherited

Definition at line 67 of file VirtualDataContainer.f90.

67  type(ListType) :: virtual_data_list !< a list with all virtual data items for this container

◆ vmem_ctx

character(lencontextname) virtualdatacontainermodule::virtualdatacontainertype::vmem_ctx
inherited

Definition at line 57 of file VirtualDataContainer.f90.

57  character(LENCONTEXTNAME) :: vmem_ctx !< prefixes virtual memory located on remote processes

The documentation for this type was generated from the following file: