Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim > Class Template Reference

Data handle for parallel communication which takes the maximum of all values that are attached to DOFs. More...

#include <gridcommhandles.hh>

Inheritance diagram for Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >:
Inheritance graph

Public Member Functions

 GridCommHandleMax (Container &container, const EntityMapper &mapper)
 
bool contains (int, int codim) const
 
bool fixedSize (int, int) const
 
template<class EntityType >
size_t size (const EntityType &) const
 
template<class MessageBufferImp , class EntityType >
void gather (MessageBufferImp &buff, const EntityType &e) const
 
template<class MessageBufferImp , class EntityType >
void scatter (MessageBufferImp &buff, const EntityType &e, size_t)
 

Detailed Description

template<class FieldType, class Container, class EntityMapper, unsigned commCodim>
class Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >

Data handle for parallel communication which takes the maximum of all values that are attached to DOFs.

Constructor & Destructor Documentation

◆ GridCommHandleMax()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >::GridCommHandleMax ( Container &  container,
const EntityMapper &  mapper 
)
inline

Member Function Documentation

◆ contains()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
bool Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >::contains ( int  ,
int  codim 
) const
inline

◆ fixedSize()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
bool Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >::fixedSize ( int  ,
int   
) const
inline

◆ gather()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
template<class MessageBufferImp , class EntityType >
void Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >::gather ( MessageBufferImp &  buff,
const EntityType &  e 
) const
inline

◆ scatter()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
template<class MessageBufferImp , class EntityType >
void Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >::scatter ( MessageBufferImp &  buff,
const EntityType &  e,
size_t   
)
inline

◆ size()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
template<class EntityType >
size_t Opm::GridCommHandleMax< FieldType, Container, EntityMapper, commCodim >::size ( const EntityType &  ) const
inline

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