A data handle to send data attached to points via cell communication.
More...
#include <DataHandleWrappers.hpp>
|
using | DataType = typename Handle::DataType |
|
using | C2PTable = std::vector< std::array< int, 8 > > |
|
|
| PointViaCellHandleWrapper (Handle &handle, const C2PTable &c2pGather, const C2PTable &c2p) |
| Constructs the data handle. More...
|
|
bool | fixedsize (int i, int j) |
|
template<class T > |
std::enable_if< T::codimension !=0, std::size_t >::type | size (const T &) |
|
std::size_t | size (const EntityRep< 0 > &t) |
|
bool | contains (std::size_t dim, std::size_t codim) |
|
template<class B , class T > |
std::enable_if< T::codimension !=0, void >::type | gather (B &, const T &) |
|
template<class B > |
void | gather (B &buffer, const EntityRep< 0 > &t) |
|
template<class B , class T > |
std::enable_if< T::codimension !=0, void >::type | scatter (B &, const T &, std::size_t) |
|
template<class B > |
void | scatter (B &buffer, const EntityRep< 0 > &t, std::size_t s) |
|
void | warn () |
|
|
static bool | printWarn = true |
|
template<class Handle>
struct Dune::cpgrid::PointViaCellHandleWrapper< Handle >
A data handle to send data attached to points via cell communication.
With it we can use the cell communication to also communicate data attached to faces.
- Warning
- As we send all points of cell most of the points will be send six times which will temporarily waste some space and bandwidth.
- Template Parameters
-
Handle | The type of the data handle to wrap. It must gather and scatter only for codim-3 entities. |
◆ PointViaCellHandleWrapper()
Constructs the data handle.
- Parameters
-
handle | Handle object wrapped and used for actual gather/scatter |
c2pGather | Table to determine points when gathering |
c2p | Table to determine points when scattering |
The documentation for this struct was generated from the following file: