|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
commoperations.hh
Go to the documentation of this file.
37 static_assert( std::is_same< Type, typename CombinedDataType< Tail... >::Type >::value, "Only data handles for the same data type can be combined." );
50 : public CommDataHandleIF< CombinedDataHandle< DataHandle... >, typename CombinedDataType< DataHandle... >::Type >
87 Hybrid::forEach( std::make_index_sequence< tupleSize >{}, [ & ]( auto i ){ std::get< i >( data_ ).gather( buff, en ); } );
95 Hybrid::forEach( std::make_index_sequence< tupleSize >{}, [ & ]( auto i ){ std::get< i >( data_ ).scatter( buff, en, n ); } );
104 Hybrid::forEach( std::make_index_sequence< tupleSize >{}, [ & ]( auto i ){ value += std::get< i >( data_ ).size( en ); } );
constexpr void forEach(Range &&range, F &&f)
size_type dim() const
virtual void operator()()=0
static const char * name()
Definition commoperations.hh:194
LoadBalanceLeafData(const DiscreteFunctionType &df)
Definition commoperations.hh:221
CombinedDataHandle(const std::tuple< DataHandle... > &data)
Definition commoperations.hh:62
DiscreteFunctionType::DiscreteFunctionSpaceType::IteratorType::Entity Entity
Definition commoperations.hh:219
DiscreteFunction DiscreteFunctionType
Definition commoperations.hh:218
static const dfCommunicationOperation value
Definition commoperations.hh:177
dfCommunicationOperation
Definition commoperations.hh:123
std::size_t size(const EntityType &en) const
loop over all internal data handlers and return sum of data size of given entity
Definition commoperations.hh:101
void gather(MessageBufferImp &buff, const EntityType &en) const
loop over all internal data handlers and call gather for given entity
Definition commoperations.hh:85
static const char * name()
Definition commoperations.hh:129
void scatter(MessageBufferImp &buff, const EntityType &en, std::size_t n)
loop over all internal data handlers and call scatter for given entity
Definition commoperations.hh:93
static const char * name()
Definition commoperations.hh:162
bool fixedSize(int dim, int codim) const
Definition commoperations.hh:74
static const dfCommunicationOperation value
Definition commoperations.hh:193
static const char * name()
Definition commoperations.hh:146
DataHandle::DataType Type
Definition commoperations.hh:36
CombinedDataType< DataHandle... >::Type DataType
Definition commoperations.hh:56
static const dfCommunicationOperation value
Definition commoperations.hh:145
static const dfCommunicationOperation value
Definition commoperations.hh:161
bool contains(int dim, int codim) const
Definition commoperations.hh:66
CombinedDataHandle(const DataHandle &... handle)
Definition commoperations.hh:58
static const char * name()
Definition commoperations.hh:178
DataHandle::DataType Type
Definition commoperations.hh:30
static const dfCommunicationOperation value
Definition commoperations.hh:128
bool contains(const Entity &entity) const
return true if the data of this entity should be transfered during load balance
Definition commoperations.hh:223
Definition commoperations.hh:25
Mathematical operation apply during communication to data that is communicated enum of all avialable ...
Definition commoperations.hh:122
check for sets of entities for the load balance procedure
Definition commoperations.hh:216
T forward(T... args)
T max(T... args)
T min(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8