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

Provides data handle for parallel communication which takes the minimum of all values that are attached to DOFs. More...

#include <gridcommhandles.hh>

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

Public Member Functions

 GridCommHandleMin (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::GridCommHandleMin< FieldType, Container, EntityMapper, commCodim >

Provides data handle for parallel communication which takes the minimum of all values that are attached to DOFs.

Constructor & Destructor Documentation

◆ GridCommHandleMin()

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

Member Function Documentation

◆ contains()

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

◆ fixedSize()

template<class FieldType , class Container , class EntityMapper , unsigned commCodim>
bool Opm::GridCommHandleMin< 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::GridCommHandleMin< 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::GridCommHandleMin< 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::GridCommHandleMin< FieldType, Container, EntityMapper, commCodim >::size ( const EntityType &  ) const
inline

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