dune-pdelab  2.5-dev
Public Member Functions | List of all members
Dune::PDELab::GhostGatherScatter Class Reference

GatherScatter functor for marking ghost DOFs. More...

#include <dune/pdelab/gridfunctionspace/genericdatahandle.hh>

Public Member Functions

template<typename MessageBuffer , typename Entity , typename LocalView >
bool gather (MessageBuffer &buff, const Entity &e, LocalView &local_view) const
 
template<typename MessageBuffer , typename Entity , typename LocalView >
bool scatter (MessageBuffer &buff, std::size_t n, const Entity &e, LocalView &local_view) const
 

Detailed Description

GatherScatter functor for marking ghost DOFs.

This data handle will mark all ghost DOFs (more precisely, all DOFs associated with entities not part of either the interior or the border partition).

Note
In order to work correctly, the data handle must be communicated on the Dune::InteriorBorder_All_Interface.

Member Function Documentation

§ gather()

template<typename MessageBuffer , typename Entity , typename LocalView >
bool Dune::PDELab::GhostGatherScatter::gather ( MessageBuffer &  buff,
const Entity &  e,
LocalView &  local_view 
) const
inline

§ scatter()

template<typename MessageBuffer , typename Entity , typename LocalView >
bool Dune::PDELab::GhostGatherScatter::scatter ( MessageBuffer &  buff,
std::size_t  n,
const Entity &  e,
LocalView &  local_view 
) const
inline

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