Opm::PropsDataHandle< Grid > Class Template Reference

A Data handle to communicate the field properties during load balance. More...

#include <PropsDataHandle.hpp>

Inheritance diagram for Opm::PropsDataHandle< Grid >:
Inheritance graph

Public Types

using DataType = std::pair< double, unsigned char >
 the data type we send (ints are converted to double) More...
 

Public Member Functions

 PropsDataHandle (const Grid &grid, ParallelEclipseState &eclState)
 Constructor. More...
 
 ~PropsDataHandle ()
 
bool contains (int, int codim)
 
bool fixedsize (int, int)
 
bool fixedSize (int, int)
 
template<class EntityType >
std::size_t size (const EntityType)
 
template<class BufferType , class EntityType >
void gather (BufferType &buffer, const EntityType &e) const
 
template<class BufferType , class EntityType >
void scatter (BufferType &buffer, const EntityType &e, std::size_t n)
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Detailed Description

template<class Grid>
class Opm::PropsDataHandle< Grid >

A Data handle to communicate the field properties during load balance.

Template Parameters
GridThe type of grid where the load balancing is happening.

Member Typedef Documentation

◆ DataType

template<class Grid >
using Opm::PropsDataHandle< Grid >::DataType = std::pair<double, unsigned char>

the data type we send (ints are converted to double)

Constructor & Destructor Documentation

◆ PropsDataHandle()

template<class Grid >
Opm::PropsDataHandle< Grid >::PropsDataHandle ( const Grid &  grid,
ParallelEclipseState eclState 
)
inline

Constructor.

Parameters
gridThe grid where the loadbalancing is happening.
globalPropsThe field properties of the global grid
distributedPropsThe distributed field properties

References Opm::Parallel::MpiSerializer::broadcast(), Opm::ParallelFieldPropsManager::copyTran(), and Opm::ParallelEclipseState::globalFieldProps().

◆ ~PropsDataHandle()

Member Function Documentation

◆ contains()

template<class Grid >
bool Opm::PropsDataHandle< Grid >::contains ( int  ,
int  codim 
)
inline

◆ fixedsize()

template<class Grid >
bool Opm::PropsDataHandle< Grid >::fixedsize ( int  ,
int   
)
inline

◆ fixedSize()

template<class Grid >
bool Opm::PropsDataHandle< Grid >::fixedSize ( int  ,
int   
)
inline

◆ gather()

template<class Grid >
template<class BufferType , class EntityType >
void Opm::PropsDataHandle< Grid >::gather ( BufferType &  buffer,
const EntityType &  e 
) const
inline

◆ scatter()

template<class Grid >
template<class BufferType , class EntityType >
void Opm::PropsDataHandle< Grid >::scatter ( BufferType &  buffer,
const EntityType &  e,
std::size_t  n 
)
inline

◆ serializeOp()

template<class Grid >
template<class Serializer >
void Opm::PropsDataHandle< Grid >::serializeOp ( Serializer &  serializer)
inline

◆ size()

template<class Grid >
template<class EntityType >
std::size_t Opm::PropsDataHandle< Grid >::size ( const  EntityType)
inline

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