The base class for parallel layouts.
More...
#include <SF_parallel_layout.h>
template<class T>
class SF::parallel_layout< T >
The base class for parallel layouts.
It provides the basic index localization and globalization functionality.
- Template Parameters
-
Definition at line 222 of file SF_parallel_layout.h.
◆ assign()
Assign a parallel distributed index set that defines the parallel layout.
- Parameters
-
| idx | An vector holding the global indices of the local domain. |
Definition at line 346 of file SF_parallel_layout.h.
◆ globalize() [1/2]
Globalize local indices.
Indices that cannot be mapped will be removed.
- Parameters
-
| lvec | The indices to globalize. |
- Precondition
- lvec contains local indices.
- Postcondition
- lvec contains global indices.
Definition at line 263 of file SF_parallel_layout.h.
◆ globalize() [2/2]
Globalize local indices.
Indices that cannot be mapped will be removed.
- Parameters
-
| lvec | The indices to globalize. |
- Precondition
- lvec contains local indices.
- Postcondition
- lvec contains global indices.
Definition at line 241 of file SF_parallel_layout.h.
◆ localize() [1/3]
◆ localize() [2/3]
template<class T >
template<class V >
Localize global indices and associated data.
Indices and data that cannot be mapped will be removed.
- Template Parameters
-
| V | Value type. Can be anything with a proper '=' operator. |
- Parameters
-
| gidx | The indices to localize. |
| gdat | The data to localize. |
- Precondition
- gidx contains global indices and gdat the associated data.
- Postcondition
- gidx contains local indices and gdat the associated data.
Definition at line 313 of file SF_parallel_layout.h.
◆ localize() [3/3]
Localize global indices.
Indices that cannot be mapped will be removed.
- Parameters
-
| gvec | The indices to localize. |
- Precondition
- gvec contains global indices.
- Postcondition
- gvec contains local indices.
Definition at line 284 of file SF_parallel_layout.h.
◆ _g2l
◆ _l2g
The global indices of the local DD domain. Also serves as the local-to-global map.
Definition at line 226 of file SF_parallel_layout.h.
The documentation for this class was generated from the following file: