openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Member Functions | List of all members
SF::non_overlapping_layout< T > Class Template Reference

The parallel layout of non overlapping indices. More...

#include <SF_container.h>

Inheritance diagram for SF::non_overlapping_layout< T >:
Collaboration diagram for SF::non_overlapping_layout< T >:

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...
 
- Public Member Functions inherited from SF::parallel_layout< T >
void globalize (vector< T > &lvec) const
 Globalize local indices. More...
 
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...
 
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

- Protected Attributes inherited from SF::parallel_layout< T >
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...
 

Detailed Description

template<class T>
class SF::non_overlapping_layout< T >

The parallel layout of non overlapping indices.

Template Parameters
TInteger type.

Definition at line 198 of file SF_container.h.

Constructor & Destructor Documentation

◆ non_overlapping_layout()

template<class T>
SF::non_overlapping_layout< T >::non_overlapping_layout ( )
inline

Empty constructor. Use assign() to set up the layout.

Definition at line 874 of file SF_parallel_layout.h.

Member Function Documentation

◆ algebraic_layout()

template<class T>
const vector<T>& SF::non_overlapping_layout< T >::algebraic_layout ( ) const
inline

Getter function for the algebraic layout of the elements.

Definition at line 900 of file SF_parallel_layout.h.

◆ assign()

template<class T>
void SF::non_overlapping_layout< T >::assign ( const vector< T > &  ref_eidx,
MPI_Comm  comm 
)
inline

Generate the layout.

Parameters
[in]ref_eidxThe reference indices
[in]commAn MPI_Communicator.
Postcondition
The parallel layout is set up.

Definition at line 885 of file SF_parallel_layout.h.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: