dune-pdelab  2.7-git
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank > Struct Template Reference

Communication descriptor for sending count items of type E per entity with attached DOFs. More...

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

Public Types

typedef std::size_t size_type
 size type to use if communicating leaf ordering sizes More...
 
typedef E OriginalDataType
 
using DataType = std::conditional_t< wrap_buffer, char, E >
 

Public Member Functions

template<typename GFS >
bool contains (const GFS &gfs, int dim, int codim) const
 
template<typename GFS >
bool fixedSize (const GFS &gfs, int dim, int codim) const
 
template<typename GFS , typename Entity >
std::size_t size (const GFS &gfs, const Entity &e) const
 
 EntityDataCommunicationDescriptor (std::size_t count=1)
 

Static Public Member Functions

static constexpr bool transmitRank ()
 

Static Public Attributes

static const bool wrap_buffer = transmit_rank
 

Detailed Description

template<typename E, bool transmit_rank = false>
struct Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >

Communication descriptor for sending count items of type E per entity with attached DOFs.

Member Typedef Documentation

◆ DataType

template<typename E , bool transmit_rank = false>
using Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::DataType = std::conditional_t<wrap_buffer,char,E>

◆ OriginalDataType

template<typename E , bool transmit_rank = false>
typedef E Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::OriginalDataType

◆ size_type

template<typename E , bool transmit_rank = false>
typedef std::size_t Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::size_type

size type to use if communicating leaf ordering sizes

Constructor & Destructor Documentation

◆ EntityDataCommunicationDescriptor()

template<typename E , bool transmit_rank = false>
Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::EntityDataCommunicationDescriptor ( std::size_t  count = 1)
inlineexplicit

Member Function Documentation

◆ contains()

template<typename E , bool transmit_rank = false>
template<typename GFS >
bool Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::contains ( const GFS &  gfs,
int  dim,
int  codim 
) const
inline

◆ fixedSize()

template<typename E , bool transmit_rank = false>
template<typename GFS >
bool Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::fixedSize ( const GFS &  gfs,
int  dim,
int  codim 
) const
inline

◆ size()

template<typename E , bool transmit_rank = false>
template<typename GFS , typename Entity >
std::size_t Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::size ( const GFS &  gfs,
const Entity &  e 
) const
inline

◆ transmitRank()

template<typename E , bool transmit_rank = false>
static constexpr bool Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::transmitRank ( )
inlinestaticconstexpr

Member Data Documentation

◆ wrap_buffer

template<typename E , bool transmit_rank = false>
const bool Dune::PDELab::EntityDataCommunicationDescriptor< E, transmit_rank >::wrap_buffer = transmit_rank
static

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