Template Class TensorIndexer
Defined in File Tensor.hpp
Inheritance Relationships
Derived Types
public combigrid::TensorDim< FG_ELEMENT, DIM >(Template Class TensorDim)public combigrid::TensorDim< Type, DIM >(Template Class TensorDim)
Class Documentation
-
template<DimType DIM>
class TensorIndexer Subclassed by combigrid::TensorDim< FG_ELEMENT, DIM >, combigrid::TensorDim< Type, DIM >
Public Functions
-
TensorIndexer() = default
-
inline explicit TensorIndexer(IndexArray<DIM> extents)
-
TensorIndexer(TensorIndexer const&) = delete
-
TensorIndexer(TensorIndexer&&) = default
-
TensorIndexer &operator=(TensorIndexer const&) = delete
-
TensorIndexer &operator=(TensorIndexer&&) = default
-
inline size_t size() const
-
inline IndexType sequentialIndex(const IndexArray<DIM> &indexArray) const
-
inline IndexType sequentialIndex(const IndexVector &indexVector) const
-
inline IndexArray<DIM> getArrayIndex(IndexType index) const
-
inline const IndexArray<DIM> &getExtents() const
-
inline const IndexArray<DIM> &getExtentsArray() const
-
inline const IndexArray<DIM> &getOffsets() const
-
inline const IndexArray<DIM> &getOffsetsArray() const
-
inline IndexVector getExtentsVector() const
-
inline IndexVector getOffsetsVector() const
-
TensorIndexer() = default