#include <Indirection.hpp>
◆ Indirection() [1/2]
| Indirection::Indirection |
( |
int |
mode = 0 | ) |
|
◆ ~Indirection()
| Indirection::~Indirection |
( |
| ) |
|
◆ Indirection() [2/2]
◆ _getArrayAToR()
| int Indirection::_getArrayAToR |
( |
int |
iabs | ) |
const |
|
private |
◆ _getMapAToR()
| int Indirection::_getMapAToR |
( |
int |
iabs | ) |
const |
|
private |
Returns the rank of the relative grid node from its absolute index using the Map
- Parameters
-
| iabs | Absolute rank of the grid node |
- Returns
- Rank of the corresponding active (relative) grid node (or -1 is not found)
◆ _isValidAbs()
| bool Indirection::_isValidAbs |
( |
int |
iabs | ) |
const |
|
private |
◆ _isValidRel()
| bool Indirection::_isValidRel |
( |
int |
irel | ) |
const |
|
private |
◆ _resetMap()
| void Indirection::_resetMap |
( |
| ) |
|
|
private |
◆ buildFromMap()
| void Indirection::buildFromMap |
( |
const std::map< int, int > & |
map, |
|
|
int |
nabs |
|
) |
| |
◆ buildFromRankRInA()
| void Indirection::buildFromRankRInA |
( |
const VectorInt & |
rels, |
|
|
int |
nabs |
|
) |
| |
◆ buildFromSel()
Build the needed information from Selection array A sample is active if its 'sel' value is equal to 1
- Parameters
-
| sel | Vector giving the status of all samples (Dimension: absolute) |
◆ getAbsSize()
| int Indirection::getAbsSize |
( |
| ) |
const |
|
inline |
◆ getAToR()
| int Indirection::getAToR |
( |
int |
iabs | ) |
const |
◆ getMode()
| int Indirection::getMode |
( |
| ) |
const |
|
inline |
◆ getRelRanks()
◆ getRelSize()
| int Indirection::getRelSize |
( |
| ) |
const |
|
inline |
◆ getRToA()
| int Indirection::getRToA |
( |
int |
irel | ) |
const |
◆ isDefined()
| bool Indirection::isDefined |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setMode()
| void Indirection::setMode |
( |
int |
mode | ) |
|
◆ toString()
◆ _defined
| bool Indirection::_defined |
|
private |
◆ _mapAToR
| std::map<int, int> Indirection::_mapAToR |
|
private |
◆ _mode
◆ _nabs
◆ _nrel
◆ _vecAToR
◆ _vecRToA
The documentation for this class was generated from the following files: