MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
mpimessagecachemodule::mpimessagecachetype Type Reference

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...

Collaboration diagram for mpimessagecachemodule::mpimessagecachetype:
Collaboration graph

Public Member Functions

procedure init => mmc_init
 
procedure get => mmc_get
 
procedure put => mmc_put
 
procedure destroy => mmc_destroy
 

Public Attributes

type(stlvecintcached_ids
 a vector with ids for the cached units (solution ids) More...
 
type(listtypeunit_caches
 a list with caches per unit More...
 

Detailed Description

Definition at line 24 of file MpiMessageCache.f90.

Member Function/Subroutine Documentation

◆ destroy()

procedure mpimessagecachemodule::mpimessagecachetype::destroy

Definition at line 31 of file MpiMessageCache.f90.

◆ get()

procedure mpimessagecachemodule::mpimessagecachetype::get

Definition at line 29 of file MpiMessageCache.f90.

◆ init()

procedure mpimessagecachemodule::mpimessagecachetype::init

Definition at line 28 of file MpiMessageCache.f90.

◆ put()

procedure mpimessagecachemodule::mpimessagecachetype::put

Definition at line 30 of file MpiMessageCache.f90.

Member Data Documentation

◆ cached_ids

type(stlvecint) mpimessagecachemodule::mpimessagecachetype::cached_ids

Definition at line 25 of file MpiMessageCache.f90.

25  type(STLVecInt) :: cached_ids !< a vector with ids for the cached units (solution ids)

◆ unit_caches

type(listtype) mpimessagecachemodule::mpimessagecachetype::unit_caches

Definition at line 26 of file MpiMessageCache.f90.

26  type(ListType) :: unit_caches !< a list with caches per unit

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