|
dune-mmesh 1.4.1-git
|
Loading...
Searching...
No Matches
Dune::PartitionHelper< Grid > Struct Template Reference
#include <dune/mmesh/misc/partitionhelper.hh>
Inheritance diagram for Dune::PartitionHelper< Grid >:

Public Types | |
| using | IdType = typename Grid::IdType |
| using | ConnectivityType = std::unordered_set< int > |
| using | LinksType = std::vector< int > |
| using | LeafIterator = typename Grid::LeafIterator::Implementation::HostGridLeafIterator |
Public Member Functions | |
| PartitionHelper (const Grid &grid) | |
| void | distribute () |
| template<class Entity > | |
| bool | contains (PartitionIteratorType pitype, const Entity &e) const |
| bool | contains (PartitionIteratorType pitype, int partitionType) const |
| template<class Entity > | |
| PartitionType | partitionType (const Entity &e) const |
| PartitionType | partitionType (int partition) const |
| void | updatePartitions () |
| const LinksType & | links () const |
| List of connected ranks. | |
| auto & | comm () const |
| template<class Entity > | |
| ConnectivityType | connectivity (const Entity &e) const |
| Get connectivity (list of ranks) | |
| template<class Entity > | |
| int | rank (const Entity &e) const |
| Get rank of an entity. | |
| const LeafIterator & | leafInteriorBegin () const |
| const LeafIterator & | leafInteriorEnd () const |
| void | computeInterfacePartitions () |
| Compute partition type for every interface entity. | |
Static Public Attributes | |
| static constexpr int | dim = Grid::dimension |
Member Typedef Documentation
◆ ConnectivityType
template<class Grid >
| using Dune::PartitionHelper< Grid >::ConnectivityType = std::unordered_set<int> |
◆ IdType
template<class Grid >
| using Dune::PartitionHelper< Grid >::IdType = typename Grid::IdType |
◆ LeafIterator
template<class Grid >
| using Dune::PartitionHelper< Grid >::LeafIterator = typename Grid::LeafIterator::Implementation::HostGridLeafIterator |
◆ LinksType
template<class Grid >
| using Dune::PartitionHelper< Grid >::LinksType = std::vector<int> |
Constructor & Destructor Documentation
◆ PartitionHelper()
template<class Grid >
|
inline |
Member Function Documentation
◆ comm()
template<class Grid >
|
inline |
◆ computeInterfacePartitions()
template<class Grid >
|
inline |
Compute partition type for every interface entity.
◆ connectivity()
template<class Grid >
template<class Entity >
|
inline |
Get connectivity (list of ranks)
◆ contains() [1/2]
template<class Grid >
template<class Entity >
|
inline |
◆ contains() [2/2]
template<class Grid >
|
inline |
◆ distribute()
template<class Grid >
|
inline |
◆ leafInteriorBegin()
template<class Grid >
|
inline |
◆ leafInteriorEnd()
template<class Grid >
|
inline |
◆ links()
template<class Grid >
|
inline |
List of connected ranks.
◆ partitionType() [1/2]
template<class Grid >
template<class Entity >
|
inline |
◆ partitionType() [2/2]
template<class Grid >
|
inline |
◆ rank()
template<class Grid >
template<class Entity >
|
inline |
Get rank of an entity.
◆ updatePartitions()
template<class Grid >
|
inline |
Member Data Documentation
◆ dim
template<class Grid >
|
staticconstexpr |
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8