Opm::ElementIndexScatterHandle< EquilMapper, Mapper > Class Template Reference

Communication handle to scatter the global index. More...

#include <CollectDataOnIORank_impl.hpp>

Public Types

using DataType = int
 

Public Member Functions

 ElementIndexScatterHandle (const EquilMapper &sendMapper, const Mapper &recvMapper, std::vector< int > &elementIndices)
 
bool fixedSize (int, int)
 
template<class T >
std::size_t size (const T &)
 
template<class B , class T >
void gather (B &buffer, const T &t)
 
template<class B , class T >
void scatter (B &buffer, const T &t, std::size_t)
 
bool contains (int dim, int codim)
 

Detailed Description

template<class EquilMapper, class Mapper>
class Opm::ElementIndexScatterHandle< EquilMapper, Mapper >

Communication handle to scatter the global index.

Member Typedef Documentation

◆ DataType

template<class EquilMapper , class Mapper >
using Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::DataType = int

Constructor & Destructor Documentation

◆ ElementIndexScatterHandle()

template<class EquilMapper , class Mapper >
Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::ElementIndexScatterHandle ( const EquilMapper &  sendMapper,
const Mapper &  recvMapper,
std::vector< int > &  elementIndices 
)
inline

Member Function Documentation

◆ contains()

template<class EquilMapper , class Mapper >
bool Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::contains ( int  dim,
int  codim 
)
inline

◆ fixedSize()

template<class EquilMapper , class Mapper >
bool Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::fixedSize ( int  ,
int   
)
inline

◆ gather()

template<class EquilMapper , class Mapper >
template<class B , class T >
void Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::gather ( B &  buffer,
const T &  t 
)
inline

◆ scatter()

template<class EquilMapper , class Mapper >
template<class B , class T >
void Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::scatter ( B &  buffer,
const T &  t,
std::size_t   
)
inline

◆ size()

template<class EquilMapper , class Mapper >
template<class T >
std::size_t Opm::ElementIndexScatterHandle< EquilMapper, Mapper >::size ( const T &  )
inline

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