![]()  | 
  
    MODFLOW 6
    version 6.7.0.dev3
    
   USGS Modular Hydrologic Model 
   | 
 
Data Types | |
| type | mpiunitcachetype | 
Functions/Subroutines | |
| subroutine | cc_init (this, nr_stages, nr_msg_types) | 
| Initialize the unit cache.  More... | |
| integer function | cc_get_cached (this, rank, stage, msg_id) | 
| Get the cached mpi type for this rank and.  More... | |
| subroutine | cc_cache (this, rank, stage, msg_id, mpi_type) | 
| Cache the mpi datatype for this particular rank and stage. The datatype should be committed.  More... | |
| logical(lgp) function | is_rank_cached (this, rank) | 
| subroutine | add_rank_cache (this, rank) | 
| integer(i4b) function | get_rank_index (this, rank) | 
| @Brief returns -1 when not present  More... | |
| integer(i4b) function | get_msg_index (this, rank, stage, msg_id) | 
| @Brief returns -1 when not present  More... | |
| subroutine | cc_clear (this) | 
| Clear the cache: free MPI types.  More... | |
| subroutine | cc_destroy (this) | 
| Destroy unit cache.  More... | |
Variables | |
| integer(i4b), parameter, public | no_cached_value = -1 | 
      
  | 
  private | 
Definition at line 100 of file MpiUnitCache.f90.
      
  | 
  private | 
Definition at line 70 of file MpiUnitCache.f90.
      
  | 
  private | 
      
  | 
  private | 
Definition at line 169 of file MpiUnitCache.f90.
      
  | 
  private | 
Definition at line 50 of file MpiUnitCache.f90.
| subroutine mpiunitcachemodule::cc_init | ( | class(mpiunitcachetype) | this, | 
| integer(i4b) | nr_stages, | ||
| integer(i4b) | nr_msg_types | ||
| ) | 
| nr_stages | number of (simulation) stages | 
| nr_msg_types | number of message types to be cached during a stage | 
Definition at line 36 of file MpiUnitCache.f90.
      
  | 
  private | 
Definition at line 128 of file MpiUnitCache.f90.
      
  | 
  private | 
Definition at line 117 of file MpiUnitCache.f90.
      
  | 
  private | 
Definition at line 91 of file MpiUnitCache.f90.
| integer(i4b), parameter, public mpiunitcachemodule::no_cached_value = -1 | 
Definition at line 11 of file MpiUnitCache.f90.