Opm::DistributeIndexMapping Class Reference

#include <CollectDataOnIORank_impl.hpp>

Inheritance diagram for Opm::DistributeIndexMapping:
Inheritance graph

Public Member Functions

 DistributeIndexMapping (const std::vector< int > &globalIndex, const std::vector< int > &distributedGlobalIndex, IndexMapType &localIndexMap, IndexMapStorageType &indexMaps, std::vector< int > &ranks, std::set< int > &recv, bool isIORank)
 
 ~DistributeIndexMapping ()
 
void pack (int link, MessageBufferType &buffer)
 
void unpack (int link, MessageBufferType &buffer)
 

Protected Attributes

const std::vector< int > & distributedGlobalIndex_
 
IndexMapTypelocalIndexMap_
 
IndexMapStorageTypeindexMaps_
 
std::map< int, int > globalPosition_
 
std::set< int > & recv_
 
std::vector< int > & ranks_
 

Constructor & Destructor Documentation

◆ DistributeIndexMapping()

Opm::DistributeIndexMapping::DistributeIndexMapping ( const std::vector< int > &  globalIndex,
const std::vector< int > &  distributedGlobalIndex,
IndexMapType localIndexMap,
IndexMapStorageType indexMaps,
std::vector< int > &  ranks,
std::set< int > &  recv,
bool  isIORank 
)
inline

◆ ~DistributeIndexMapping()

Opm::DistributeIndexMapping::~DistributeIndexMapping ( )
inline

Member Function Documentation

◆ pack()

void Opm::DistributeIndexMapping::pack ( int  link,
MessageBufferType buffer 
)
inline

◆ unpack()

void Opm::DistributeIndexMapping::unpack ( int  link,
MessageBufferType buffer 
)
inline

References globalPosition_, and indexMaps_.

Member Data Documentation

◆ distributedGlobalIndex_

const std::vector<int>& Opm::DistributeIndexMapping::distributedGlobalIndex_
protected

Referenced by DistributeIndexMapping(), and pack().

◆ globalPosition_

◆ indexMaps_

◆ localIndexMap_

IndexMapType& Opm::DistributeIndexMapping::localIndexMap_
protected

Referenced by DistributeIndexMapping(), and pack().

◆ ranks_

◆ recv_


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