openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
The parallel layout of non overlapping indices. More...
#include <SF_container.h>
Public Member Functions | |
non_overlapping_layout () | |
Empty constructor. Use assign() to set up the layout. More... | |
void | assign (const vector< T > &ref_eidx, MPI_Comm comm) |
Generate the layout. More... | |
const vector< T > & | algebraic_layout () const |
Getter function for the algebraic layout of the elements. More... | |
![]() | |
void | globalize (vector< T > &lvec) const |
Globalize local indices. More... | |
T | globalize (const T lidx) const |
Globalize local indices. More... | |
void | localize (vector< T > &gvec) const |
Localize global indices. More... | |
template<class V > | |
void | localize (vector< T > &gidx, vector< V > &gdat) const |
Localize global indices and associated data. More... | |
T | localize (T gidx) const |
void | assign (const vector< T > &idx) |
Assign a parallel distributed index set that defines the parallel layout. More... | |
Additional Inherited Members | |
![]() | |
vector< T > | _l2g |
The global indices of the local DD domain. Also serves as the local-to-global map. More... | |
hashmap::unordered_map< T, T > | _g2l |
The global-to-local map for the DD domain. More... | |
The parallel layout of non overlapping indices.
T | Integer type. |
Definition at line 198 of file SF_container.h.
|
inline |
Empty constructor. Use assign() to set up the layout.
Definition at line 874 of file SF_parallel_layout.h.
|
inline |
Getter function for the algebraic layout of the elements.
Definition at line 900 of file SF_parallel_layout.h.
|
inline |
Generate the layout.
[in] | ref_eidx | The reference indices |
[in] | comm | An MPI_Communicator. |
Definition at line 885 of file SF_parallel_layout.h.