DUNE-FEM (unstable)

Dune::Fem::CombinedDataHandle< DataHandle > Class Template Reference

combine multiple data handles into one More...

#include <dune/fem/space/common/commoperations.hh>

Public Member Functions

template<class MessageBufferImp , class EntityType >
void gather (MessageBufferImp &buff, const EntityType &en) const
 loop over all internal data handlers and call gather for given entity
 
template<class MessageBufferImp , class EntityType >
void scatter (MessageBufferImp &buff, const EntityType &en, std::size_t n)
 loop over all internal data handlers and call scatter for given entity
 
template<class EntityType >
std::size_t size (const EntityType &en) const
 loop over all internal data handlers and return sum of data size of given entity
 
void scatter (MessageBufferImp &buff, const EntityType &e, size_t n)
 unpack data from message buffer to user. More...
 

Detailed Description

template<class... DataHandle>
class Dune::Fem::CombinedDataHandle< DataHandle >

combine multiple data handles into one

Member Function Documentation

◆ scatter()

void Dune::CommDataHandleIF< CombinedDataHandle< DataHandle... > , CombinedDataType< DataHandle... >::Type >::scatter ( MessageBufferImp &  buff,
const EntityType &  e,
size_t  n 
)
inlineinherited

unpack data from message buffer to user.

Parameters
buffmessage buffer provided by the grid. This is not const, because the buffer has an internal iterator that gets advanced when reading from the buffer.
eentity for which date should be unpacked from buffer
nnumber of data written to buffer for this entity before

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)