MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | mpimessagecachetype |
Facility to cache the constructed MPI datatypes. This will avoid having to construct them over and over again for the communication inside the timestep loop. This class deals with separate caches for different units (solutions or global) and for different types of. More... | |
Functions/Subroutines | |
subroutine | mmc_init (this) |
integer function | mmc_get (this, unit, rank, stage, msg_id) |
subroutine | mmc_put (this, unit, rank, stage, msg_id, mpi_type) |
Put the mpi datatype for this particular unit, rank, and stage in cache. The datatype should be. More... | |
subroutine | mmc_destroy (this) |
Variables | |
integer(i4b), parameter, public | mpi_bdy_rcv = 1 |
receiving data (body) from ranks More... | |
integer(i4b), parameter, public | mpi_bdy_snd = 2 |
sending data (body) to ranks More... | |
integer(i4b), parameter, public | nr_msg_types = 2 |
the total number of message types to be cached More... | |
|
private |
this | the message cache |
Definition at line 110 of file MpiMessageCache.f90.
|
private |
this | the message cache |
unit | the unit (solution or global) |
rank | the rank of the MPI process to communicate with |
stage | the simulation stage at which the message is sent |
msg_id | the message type as an integer between 1 and NR_MSG_TYPES (see above for predefined values) |
Definition at line 48 of file MpiMessageCache.f90.
subroutine mpimessagecachemodule::mmc_init | ( | class(mpimessagecachetype) | this | ) |
this | the message cache |
Definition at line 38 of file MpiMessageCache.f90.
|
private |
this | the message cache |
unit | the unit (solution or global) |
rank | the rank of the MPI process to communicate with |
stage | the simulation stage at which the message is sent |
msg_id | the message type as an integer between 1 and NR_MSG_TYPES (see above for predefined values) |
mpi_type | the mpi datatype to cache |
Definition at line 75 of file MpiMessageCache.f90.
integer(i4b), parameter, public mpimessagecachemodule::mpi_bdy_rcv = 1 |
Definition at line 11 of file MpiMessageCache.f90.
integer(i4b), parameter, public mpimessagecachemodule::mpi_bdy_snd = 2 |
Definition at line 12 of file MpiMessageCache.f90.
integer(i4b), parameter, public mpimessagecachemodule::nr_msg_types = 2 |
Definition at line 13 of file MpiMessageCache.f90.