OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <BareFieldIterator.h>
Public Types | |
typedef T | return_type |
Public Types inherited from BrickIterator< T, Dim > | |
typedef T | PETE_Return_t |
typedef BrickIterator< T, Dim > | PETE_Expr_t |
Public Member Functions | |
BareFieldIterator () | |
BareFieldIterator (BareField< T, Dim > &df) | |
BareFieldIterator (const FieldLoc< Dim > &loc, BareField< T, Dim > &df) | |
BareFieldIterator (const BareFieldIterator< T, Dim > &iter) | |
~BareFieldIterator () | |
const BareFieldIterator< T, Dim > & | operator= (const BareFieldIterator< T, Dim > &rhs) |
void | SetCurrentLocation (const FieldLoc< Dim > &loc) |
void | GetCurrentLocation (FieldLoc< Dim > &loc) const |
void | GetCurrentLocation (int *loc) const |
BareFieldIterator< T, Dim > & | operator++ () |
T & | operator* () const |
void | nextLField () |
bool | done () const |
bool | done (unsigned d) const |
void | beginLField () |
bool | IsCompressed () const |
bool | CanCompress () const |
void | Compress () |
void | Compress (T val) |
bool | TryCompress () |
BareField< T, Dim > & | GetBareField () |
const BareField< T, Dim > & | GetBareField () const |
void | prepareForScalarCode (bool tryfill=true) |
void | finishScalarCode (bool modified=true) |
Public Member Functions inherited from CompressedBrickIterator< T, Dim > | |
CompressedBrickIterator (T *t, const NDIndex< Dim > &c, const NDIndex< Dim > &a, T &compressed) | |
CompressedBrickIterator (T *t, const vec< int, Dim > &v, T &compressed) | |
CompressedBrickIterator (T &t) | |
CompressedBrickIterator () | |
CompressedBrickIterator (const NDIndex< Dim > &a, T &compressed) | |
CompressedBrickIterator (const BrickIterator< T, Dim > &x, T &compressed) | |
bool | IsCompressed () const |
bool | CanCompress (const T &) const |
void | Compress (T &val) |
bool | TryCompress () |
bool | TryCompress (T val) |
const CompressedBrickIterator< T, Dim > & | operator= (const CompressedBrickIterator< T, Dim > &rhs) |
CompressedBrickIterator (const CompressedBrickIterator< T, Dim > &X) | |
Message & | putMessage (Message &m, bool makecopy=true) |
Message & | getMessage (Message &m) |
CompressedBrickIterator< T, 1 > | permute (NDIndex< Dim > ¤t, NDIndex< 1 > &permuted) const |
CompressedBrickIterator< T, 2 > | permute (NDIndex< Dim > ¤t, NDIndex< 2 > &permuted) const |
CompressedBrickIterator< T, 3 > | permute (NDIndex< Dim > ¤t, NDIndex< 3 > &permuted) const |
CompressedBrickIterator< T, 4 > | permute (NDIndex< Dim > ¤t, NDIndex< 4 > &permuted) const |
CompressedBrickIterator< T, 5 > | permute (NDIndex< Dim > ¤t, NDIndex< 5 > &permuted) const |
CompressedBrickIterator< T, 6 > | permute (NDIndex< Dim > ¤t, NDIndex< 6 > &permuted) const |
void | SetCurrent (T *p) |
void | SetCount (int d, int count) |
void | ResetCounter (int d) |
void | SetStride (int d, int stride) |
int | GetStride (int d) const |
T & | GetCompressedData () const |
void | SetCompressedData (T *newData) |
Public Member Functions inherited from BrickIterator< T, Dim > | |
BrickIterator () | |
BrickIterator (T *, const NDIndex< Dim > &, const NDIndex< Dim > &) | |
BrickIterator (T *, const vec< int, Dim > &) | |
BrickIterator & | operator++ () |
bool | whole () const |
bool | operator== (const BrickIterator< T, Dim > &a) const |
bool | operator!= (const BrickIterator< T, Dim > &a) const |
T & | operator* () const |
void | step (unsigned d) |
void | rewind (unsigned d) |
T & | offset (int i) const |
T & | offset (int i, int j) const |
T & | offset (int i, int j, int k) const |
T & | offset (int *i) const |
T & | unit_offset (int i) const |
T & | unit_offset (int i, int j) const |
T & | unit_offset (int i, int j, int k) const |
void | moveBy (int i) |
void | moveBy (int i, int j) |
void | moveBy (int i, int j, int k) |
void | moveBy (const int *i) |
int | Stride (int i) const |
Message & | putMessage (Message &, bool makecopy=true) |
Message & | getMessage (Message &) |
PETE_Expr_t | MakeExpression () const |
Public Member Functions inherited from BrickCounter< Dim > | |
BrickCounter () | |
BrickCounter (const NDIndex< Dim > &) | |
BrickCounter & | operator++ () |
bool | done (unsigned d) const |
void | step (unsigned d) |
void | rewind (unsigned d) |
int | size (unsigned d) const |
int | GetOffset (unsigned d) const |
Protected Member Functions | |
void | general_increment () |
bool | isInGC () const |
Protected Member Functions inherited from BrickIterator< T, Dim > | |
void | op_pp () |
Protected Member Functions inherited from BrickCounter< Dim > | |
void | op_pp () |
Protected Attributes | |
BareField< T, Dim >::iterator_if | CurrentLField |
BareField< T, Dim > * | MyBareField |
T | dummy_compressed_data |
int | LFIndex |
Protected Attributes inherited from BrickIterator< T, Dim > | |
T *__restrict__ | Current |
vec< int, Dim > | Strides |
bool | Whole |
Protected Attributes inherited from BrickCounter< Dim > | |
vec< int, Dim > | Counters |
vec< int, Dim > | Counts |
Definition at line 39 of file BareFieldIterator.h.
typedef T BareFieldIterator< T, Dim >::return_type |
Definition at line 44 of file BareFieldIterator.h.
|
inline |
Definition at line 47 of file BareFieldIterator.h.
|
inline |
Definition at line 58 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::beginLField().
|
inline |
Definition at line 74 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::SetCurrentLocation().
|
inline |
Definition at line 88 of file BareFieldIterator.h.
|
inline |
Definition at line 99 of file BareFieldIterator.h.
|
inline |
Definition at line 207 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::done(), and BareFieldIterator< T, Dim >::LFIndex.
Referenced by BareFieldIterator< T, Dim >::BareFieldIterator(), for_each(), BareFieldIterator< T, Dim >::general_increment(), and BareFieldIterator< T, Dim >::SetCurrentLocation().
|
inline |
Definition at line 225 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::MyBareField, and PAssert.
|
inline |
Definition at line 233 of file BareFieldIterator.h.
|
inline |
Definition at line 239 of file BareFieldIterator.h.
|
inline |
Definition at line 194 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::CurrentLField, BareFieldIterator< T, Dim >::MyBareField, and PAssert.
Referenced by BareFieldIterator< T, Dim >::beginLField(), IndexedBareFieldIterator< T, Dim >::beginLField(), BareFieldIterator< T, Dim >::SetCurrentLocation(), and IndexedBareFieldIterator< T, Dim >::SetCurrentLocation().
|
inline |
Definition at line 201 of file BareFieldIterator.h.
References BrickCounter< Dim >::done().
|
inline |
Definition at line 287 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::MyBareField, and PAssert.
|
inlineprotected |
Definition at line 309 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::beginLField(), and BareFieldIterator< T, Dim >::nextLField().
Referenced by BareFieldIterator< T, Dim >::operator++().
|
inline |
Definition at line 251 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::MyBareField, and PAssert.
Referenced by IndexedBareFieldIterator< T, Dim >::FillGCIfNecessary(), and for_each().
|
inline |
Definition at line 258 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::MyBareField, and PAssert.
|
inline |
Definition at line 153 of file BareFieldIterator.h.
References Dim, BrickCounter< Dim >::GetOffset(), BareFieldIterator< T, Dim >::LFIndex, and FieldLoc< Dim >::setIndex().
Referenced by for_each(), and IndexedBareFieldIterator< T, Dim >::SetCurrentLocation().
|
inline |
Definition at line 162 of file BareFieldIterator.h.
References Dim, and BrickCounter< Dim >::GetOffset().
|
inline |
Definition at line 217 of file BareFieldIterator.h.
References CompressedBrickIterator< T, Dim >::IsCompressed(), and PAssert_EQ.
Referenced by for_each().
|
inlineprotected |
Definition at line 317 of file BareFieldIterator.h.
References Dim, and BrickCounter< Dim >::GetOffset().
|
inline |
Definition at line 188 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::CurrentLField, and BareFieldIterator< T, Dim >::LFIndex.
Referenced by IndexedBareFieldIterator< T, Dim >::beginLField(), for_each(), BareFieldIterator< T, Dim >::general_increment(), and BareFieldIterator< T, Dim >::SetCurrentLocation().
|
inline |
Definition at line 179 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::MyBareField, BrickIterator< T, Dim >::operator*(), and PAssert.
|
inline |
Definition at line 170 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::general_increment(), and BrickIterator< T, Dim >::operator++().
|
inline |
Definition at line 105 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::CurrentLField, BareFieldIterator< T, Dim >::LFIndex, and BareFieldIterator< T, Dim >::MyBareField.
|
inline |
Definition at line 276 of file BareFieldIterator.h.
References BareFieldIterator< T, Dim >::MyBareField, and PAssert.
|
inline |
Definition at line 123 of file BareFieldIterator.h.
References IpplInfo::abort(), BareFieldIterator< T, Dim >::beginLField(), BareFieldIterator< T, Dim >::CurrentLField, Dim, BareFieldIterator< T, Dim >::done(), FieldLoc< Dim >::getIndex(), BareFieldIterator< T, Dim >::LFIndex, BrickIterator< T, Dim >::moveBy(), BareFieldIterator< T, Dim >::MyBareField, BareFieldIterator< T, Dim >::nextLField(), and PAssert.
Referenced by PatchBC< T, D, M, C >::apply(), and BareFieldIterator< T, Dim >::BareFieldIterator().
|
inline |
Definition at line 245 of file BareFieldIterator.h.
|
protected |
Definition at line 295 of file BareFieldIterator.h.
Referenced by BareFieldIterator< T, Dim >::done(), BareFieldIterator< T, Dim >::nextLField(), BareFieldIterator< T, Dim >::operator=(), and BareFieldIterator< T, Dim >::SetCurrentLocation().
|
protected |
Definition at line 301 of file BareFieldIterator.h.
|
protected |
Definition at line 304 of file BareFieldIterator.h.
Referenced by BareFieldIterator< T, Dim >::beginLField(), BareFieldIterator< T, Dim >::GetCurrentLocation(), BareFieldIterator< T, Dim >::nextLField(), BareFieldIterator< T, Dim >::operator=(), and BareFieldIterator< T, Dim >::SetCurrentLocation().
|
protected |
Definition at line 298 of file BareFieldIterator.h.
Referenced by BareFieldIterator< T, Dim >::CanCompress(), BareFieldIterator< T, Dim >::done(), BareFieldIterator< T, Dim >::finishScalarCode(), BareFieldIterator< T, Dim >::GetBareField(), IndexedBareFieldIterator< T, Dim >::getBareField(), BareFieldIterator< T, Dim >::operator*(), BareFieldIterator< T, Dim >::operator=(), BareFieldIterator< T, Dim >::prepareForScalarCode(), and BareFieldIterator< T, Dim >::SetCurrentLocation().