KASKADE 7 development version
|
Providing a vector interface for contiguously stored entries. More...
#include <localVectors.hh>
Providing a vector interface for contiguously stored entries.
Entry | the type of vector entries |
SortedIdx | a range of indices (global idx, local idx) sorted ascendingly by global idx |
Definition at line 30 of file localVectors.hh.
Public Member Functions | |
LocalVector (SortedIdx const &idx, Entry *data_) | |
SortedIdx | idx () const |
A sequence of indices, sorted ascendingly by global idx. More... | |
size_t | size () const |
The number of entries stored. More... | |
void | relocate (Entry *newData) |
Resets the data pointer. More... | |
Entry & | operator[] (int idx) |
Access the matrix entries. More... | |
Entry const & | operator[] (int idx) const |
|
inline |
Definition at line 34 of file localVectors.hh.
|
inline |
A sequence of indices, sorted ascendingly by global idx.
Definition at line 42 of file localVectors.hh.
Referenced by Kaskade::LocalVector< Entry, SortedIdx >::operator[](), and Kaskade::LocalVector< Entry, SortedIdx >::size().
|
inline |
Access the matrix entries.
Definition at line 63 of file localVectors.hh.
|
inline |
Definition at line 68 of file localVectors.hh.
|
inline |
Resets the data pointer.
Definition at line 55 of file localVectors.hh.
|
inline |
The number of entries stored.
Definition at line 47 of file localVectors.hh.
Referenced by Kaskade::PatchDomainDecompositionPreconditioner< Space, m, StorageTag, SparseMatrixIndex >::apply().