#include <VectorIndexer.h>

Public Member Functions | |
| virtual size_t | getIncrement (size_t underlyingID) const =0 |
| Given a global id in the underlying vector, return the distance to the next id in the SubsetVector. | |
| virtual size_t | getNumLocalElements (std::shared_ptr< Vector > v) const =0 |
| Given a particular underlying vector, compute the number of local elements that are in this mapping. | |
| virtual size_t | getSubID (size_t underlyingID) const =0 |
| Given a global id in the underlying vector, return the subset global id. | |
| virtual size_t | getSuperID (size_t subsetID) const =0 |
| Given a global id in the SubsetVector, return the corresponding global id in the underlying vector. | |
| virtual bool | isInSub (size_t underlyingID) const =0 |
| Given a global id in the underlying vector, this returns true if the global id is in the SubsetVector. | |
| virtual | ~VectorIndexer () |
| Destructor. | |
Definition at line 22 of file VectorIndexer.h.
|
inlinevirtual |
Destructor.
Definition at line 26 of file VectorIndexer.h.
|
pure virtual |
Given a global id in the underlying vector, return the distance to the next id in the SubsetVector.
| [in] | underlyingID | The global ID of the underlying vector |
Implemented in AMP::LinearAlgebra::RandomAccessIndexer.
|
pure virtual |
Given a particular underlying vector, compute the number of local elements that are in this mapping.
| [in] | v | A vector |
|
pure virtual |
Given a global id in the underlying vector, return the subset global id.
| [in] | underlyingID | The global ID of the underlying vector |
Implemented in AMP::LinearAlgebra::RandomAccessIndexer.
|
pure virtual |
Given a global id in the SubsetVector, return the corresponding global id in the underlying vector.
| [in] | subsetID | The global ID of the SubsetVector |
Implemented in AMP::LinearAlgebra::RandomAccessIndexer.
|
pure virtual |
Given a global id in the underlying vector, this returns true if the global id is in the SubsetVector.
| [in] | underlyingID | The global ID of the underlying vector |
Implemented in AMP::LinearAlgebra::RandomAccessIndexer.
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:43. Comments on this page |