3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::VertexHandleSum< FieldType, Container, VertexMapper > Class Template Reference

#include <dumux/parallel/vertexhandles.hh>

Inheritance diagram for Dumux::VertexHandleSum< FieldType, Container, VertexMapper >:
Inheritance graph

Public Types

using DataType
 export type of data for message buffer

Public Member Functions

 VertexHandleSum (Container &container, const VertexMapper &mapper)
bool contains (int dim, int codim) const
bool fixedsize (int dim, int codim) const
 returns true if size per entity of given dim and codim is a constant
std::size_t size (Entity &entity) const
 how many objects of type DataType have to be sent for a given entity
void gather (MessageBuffer &buff, const Entity &entity) const
 pack data from user to message buffer
void scatter (MessageBuffer &buff, const Entity &entity, std::size_t n)
 unpack data from message buffer to user

Protected Attributes

const Mapper & mapper_
Vector & vector_

Member Typedef Documentation

◆ DataType

using Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::DataType
inherited

export type of data for message buffer

Constructor & Destructor Documentation

◆ VertexHandleSum()

template<class FieldType, class Container, class VertexMapper>
Dumux::VertexHandleSum< FieldType, Container, VertexMapper >::VertexHandleSum ( Container & container,
const VertexMapper & mapper )
inline

Member Function Documentation

◆ contains()

template<class FieldType, class Container, class VertexMapper>
bool Dumux::VertexHandleSum< FieldType, Container, VertexMapper >::contains ( int dim,
int codim ) const
inline

◆ fixedsize()

bool Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::fixedsize ( int dim,
int codim ) const
inlineinherited

returns true if size per entity of given dim and codim is a constant

◆ gather()

void Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::gather ( MessageBuffer & buff,
const Entity & entity ) const
inlineinherited

pack data from user to message buffer

◆ scatter()

void Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::scatter ( MessageBuffer & buff,
const Entity & entity,
std::size_t n )
inlineinherited

unpack data from message buffer to user

Note
n is the number of objects sent by the sender

◆ size()

std::size_t Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::size ( Entity & entity) const
inlineinherited

how many objects of type DataType have to be sent for a given entity

Note
Only the sender side needs to know this size.

Member Data Documentation

◆ mapper_

const Mapper& Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::mapper_
protectedinherited

◆ vector_

Vector& Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, Detail::Sum >::vector_
protectedinherited

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