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

GatherScatter functor for marking shared 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 shared DOFs.

This functor will mark all DOFs that exist on multiple processes.

Note
In order to work correctly, the data handle must be communicated on the Dune::All_All_Interface and the result vector must be initialized with false.

Member Function Documentation

◆ gather()

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

◆ scatter()

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

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