#include <dune/fem/space/common/commindexmap.hh>
|
| CommunicationIndexMap () |
| constructor creating empty map
|
|
| CommunicationIndexMap (const CommunicationIndexMap &)=delete |
|
const IndexType & | operator[] (const size_t i) const |
| return index map for entry i
|
|
void | clear () |
| clear index map
|
|
template<class GlobalKey > |
void | insert (const std ::vector< GlobalKey > &idx) |
|
template<class GlobalKey > |
void | set (const std ::set< GlobalKey > &idxSet) |
| insert sorted set of indices
|
|
size_t | size () const |
| return size of map
|
|
void | print (std ::ostream &s, int rank) const |
| print map for debugging only
|
|
template<class CommBuffer > |
void | writeToBuffer (CommBuffer &buffer) const |
| write all indices to buffer
|
|
template<class CommBuffer > |
void | readFromBuffer (CommBuffer &buffer) |
| read all indices from buffer
|
|
◆ CommunicationIndexMap() [1/2]
Dune::Fem::CommunicationIndexMap::CommunicationIndexMap |
( |
| ) |
|
|
inline |
constructor creating empty map
◆ CommunicationIndexMap() [2/2]
◆ clear()
void Dune::Fem::CommunicationIndexMap::clear |
( |
| ) |
|
|
inline |
◆ insert()
template<class GlobalKey >
void Dune::Fem::CommunicationIndexMap::insert |
( |
const std ::vector< GlobalKey > & |
idx | ) |
|
|
inline |
append index vector with idx result is unsorted
◆ operator[]()
const IndexType & Dune::Fem::CommunicationIndexMap::operator[] |
( |
const size_t |
i | ) |
const |
|
inline |
return index map for entry i
◆ print()
void Dune::Fem::CommunicationIndexMap::print |
( |
std ::ostream & |
s, |
|
|
int |
rank |
|
) |
| const |
|
inline |
print map for debugging only
◆ readFromBuffer()
template<class CommBuffer >
void Dune::Fem::CommunicationIndexMap::readFromBuffer |
( |
CommBuffer & |
buffer | ) |
|
|
inline |
read all indices from buffer
◆ reserve()
void Dune::Fem::CommunicationIndexMap::reserve |
( |
size_t |
size | ) |
|
|
inlineprotected |
◆ resize()
void Dune::Fem::CommunicationIndexMap::resize |
( |
size_t |
size | ) |
|
|
inlineprotected |
resize map with size size
◆ set()
template<class GlobalKey >
void Dune::Fem::CommunicationIndexMap::set |
( |
const std ::set< GlobalKey > & |
idxSet | ) |
|
|
inline |
insert sorted set of indices
◆ size()
size_t Dune::Fem::CommunicationIndexMap::size |
( |
| ) |
const |
|
inline |
◆ writeToBuffer()
template<class CommBuffer >
void Dune::Fem::CommunicationIndexMap::writeToBuffer |
( |
CommBuffer & |
buffer | ) |
const |
|
inline |
write all indices to buffer
The documentation for this class was generated from the following file: