|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <BareFieldIterator.h>
Public Types | |
| typedef T | return_type |
| 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) |
| bool | CanCompress (const T &) const |
| void | Compress (T &val) |
| bool | TryCompress (T val) |
| 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) |
| bool | whole () const |
| bool | operator== (const BrickIterator< T, Dim > &a) const |
| bool | operator!= (const BrickIterator< T, Dim > &a) 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 |
| PETE_Expr_t | MakeExpression () const |
| int | size (unsigned d) const |
| int | GetOffset (unsigned d) const |
Protected Member Functions | |
| void | general_increment () |
| bool | isInGC () const |
| void | op_pp () |
Protected Attributes | |
| BareField< T, Dim >::iterator_if | CurrentLField |
| BareField< T, Dim > * | MyBareField |
| T | dummy_compressed_data |
| int | LFIndex |
| T *__restrict__ | Current |
| vec< int, Dim > | Strides |
| bool | Whole |
| vec< int, Dim > | Counters |
| vec< int, Dim > | Counts |
Private Attributes | |
| T * | CompressedData |
Definition at line 39 of file BareFieldIterator.h.
|
inherited |
Definition at line 175 of file BrickIterator.h.
|
inherited |
Definition at line 174 of file BrickIterator.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.
References CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), Dim, dummy_compressed_data, LFIndex, and MyBareField.
Referenced by BareFieldIterator(), operator++(), and operator=().
|
inline |
Definition at line 58 of file BareFieldIterator.h.
References beginLField(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CurrentLField, Dim, dummy_compressed_data, LFIndex, and MyBareField.
|
inline |
Definition at line 74 of file BareFieldIterator.h.
References CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CurrentLField, Dim, dummy_compressed_data, LFIndex, MyBareField, and SetCurrentLocation().
|
inline |
Definition at line 88 of file BareFieldIterator.h.
References BareFieldIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CurrentLField, Dim, LFIndex, and MyBareField.
|
inline |
Definition at line 99 of file BareFieldIterator.h.
|
inline |
Definition at line 207 of file BareFieldIterator.h.
References CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), done(), and LFIndex.
Referenced by BareFieldIterator(), for_each(), general_increment(), and SetCurrentLocation().
|
inline |
Definition at line 225 of file BareFieldIterator.h.
References MyBareField, and PAssert.
|
inherited |
Definition at line 198 of file CompressedBrickIterator.hpp.
References all_values_equal(), CompressedData, Dim, and IsCompressed().
Referenced by BareField< T, Dim >::accumGuardCells(), and TryCompress().
|
inline |
Definition at line 233 of file BareFieldIterator.h.
|
inline |
Definition at line 239 of file BareFieldIterator.h.
|
inherited |
Definition at line 359 of file CompressedBrickIterator.hpp.
References CompressedData, BrickIterator< T, Dim >::Current, Dim, and BrickIterator< T, Dim >::Strides.
Referenced by TryCompress().
|
inline |
Definition at line 194 of file BareFieldIterator.h.
References CurrentLField, MyBareField, and PAssert.
Referenced by beginLField(), IndexedBareFieldIterator< T, Dim >::beginLField(), 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 MyBareField, and PAssert.
|
inlineprotected |
Definition at line 309 of file BareFieldIterator.h.
References beginLField(), and nextLField().
Referenced by operator++().
|
inline |
Definition at line 251 of file BareFieldIterator.h.
References MyBareField, and PAssert.
Referenced by IndexedBareFieldIterator< T, Dim >::FillGCIfNecessary(), for_each(), for_each(), for_each(), and for_each().
|
inline |
Definition at line 258 of file BareFieldIterator.h.
References MyBareField, and PAssert.
|
inlineinherited |
Definition at line 169 of file CompressedBrickIterator.h.
References CompressedData.
Referenced by permute().
|
inline |
Definition at line 153 of file BareFieldIterator.h.
References Dim, BrickCounter< Dim >::GetOffset(), LFIndex, and FieldLoc< Dim >::setIndex().
Referenced by for_each(), for_each(), and IndexedBareFieldIterator< T, Dim >::SetCurrentLocation().
|
inline |
Definition at line 162 of file BareFieldIterator.h.
References Dim, and BrickCounter< Dim >::GetOffset().
|
inherited |
Definition at line 245 of file CompressedBrickIterator.hpp.
References CompressedData, BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, BrickIterator< T, Dim >::Current, Dim, Message::get(), BrickIterator< T, Dim >::getMessage(), getMessage_iter(), PAssert, and BrickIterator< T, Dim >::Strides.
Referenced by BareField< T, Dim >::accumGuardCells(), and FieldDataSource< T, Dim, M, C >::gather_data().
|
inlineinherited |
Definition at line 46 of file BrickIterator.h.
References Counters.
Referenced by BareFieldIterator< T, Dim >::GetCurrentLocation(), BareFieldIterator< T, Dim >::GetCurrentLocation(), and BareFieldIterator< T, Dim >::isInGC().
|
inlineinherited |
Definition at line 168 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::Strides.
Referenced by permute().
|
inline |
Definition at line 217 of file BareFieldIterator.h.
References CompressedBrickIterator< T, Dim >::IsCompressed(), and PAssert_EQ.
Referenced by for_each(), and for_each().
|
inlineprotected |
Definition at line 317 of file BareFieldIterator.h.
References Dim, and BrickCounter< Dim >::GetOffset().
|
inlineinherited |
Definition at line 176 of file BrickIterator.h.
|
inlineinherited |
Definition at line 153 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, Dim, and Strides.
|
inlineinherited |
Definition at line 135 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
Referenced by IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), and BareFieldIterator< T, Dim >::SetCurrentLocation().
|
inlineinherited |
Definition at line 140 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
|
inlineinherited |
Definition at line 146 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
|
inline |
Definition at line 188 of file BareFieldIterator.h.
References CurrentLField, and LFIndex.
Referenced by IndexedBareField< T, Dim, Brackets >::BareField< T, Dim >, IndexedBareFieldIterator< T, Dim >::beginLField(), for_each(), general_increment(), and SetCurrentLocation().
|
inlineinherited |
Definition at line 119 of file BrickIterator.h.
References Current, vec< T, Length >::dot(), and Strides.
|
inlineinherited |
Definition at line 107 of file BrickIterator.h.
References Current, and Strides.
Referenced by all_values_equal(), all_values_equal(), all_values_equal(), FieldDebugWriteb(), for_each(), for_each(), for_each(), for_each(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 3U >::scatter(), IntTSCImpl< 3U >::scatter(), and IntTSCImpl< 3U >::scatter().
|
inlineinherited |
Definition at line 111 of file BrickIterator.h.
|
inlineinherited |
Definition at line 115 of file BrickIterator.h.
|
protectedinherited |
Definition at line 111 of file BrickIterator.hpp.
References BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, Current, Dim, rewind(), and step().
Referenced by operator++().
|
inlineinherited |
Definition at line 83 of file BrickIterator.h.
References a, BrickIterator(), and Current.
|
inline |
Definition at line 179 of file BareFieldIterator.h.
References MyBareField, BrickIterator< T, Dim >::operator*(), and PAssert.
|
inline |
Definition at line 170 of file BareFieldIterator.h.
References BareFieldIterator(), general_increment(), and BrickCounter< Dim >::operator++().
|
inline |
Definition at line 105 of file BareFieldIterator.h.
References BareFieldIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CurrentLField, LFIndex, and MyBareField.
|
inlineinherited |
Definition at line 79 of file BrickIterator.h.
References a, BrickIterator(), and Current.
|
inlineinherited |
Definition at line 146 of file CompressedBrickIterator.h.
Referenced by IndexedLocalAssign(), and IndexedSend().
|
inlineinherited |
Definition at line 149 of file CompressedBrickIterator.h.
|
inlineinherited |
Definition at line 152 of file CompressedBrickIterator.h.
|
inlineinherited |
Definition at line 155 of file CompressedBrickIterator.h.
|
inlineinherited |
Definition at line 158 of file CompressedBrickIterator.h.
|
inlineinherited |
Definition at line 161 of file CompressedBrickIterator.h.
|
inline |
Definition at line 276 of file BareFieldIterator.h.
References MyBareField, and PAssert.
|
inherited |
Definition at line 220 of file CompressedBrickIterator.hpp.
References BrickIterator< T, Dim >::Current, Dim, IsCompressed(), Message::put(), BrickIterator< T, Dim >::putMessage(), putMessage(), and BrickCounter< Dim >::size().
Referenced by FieldDataSource< T, Dim, M, C >::gather_data(), and IndexedSend().
|
inlineinherited |
Definition at line 166 of file CompressedBrickIterator.h.
References BrickCounter< Dim >::Counters.
|
inlineinherited |
Definition at line 100 of file BrickIterator.h.
References BrickCounter< Dim >::Counts, Current, BrickCounter< Dim >::rewind(), and Strides.
Referenced by for_each(), for_each(), for_each(), and op_pp().
|
inlineinherited |
Definition at line 170 of file CompressedBrickIterator.h.
References CompressedData.
|
inlineinherited |
Definition at line 165 of file CompressedBrickIterator.h.
References BrickCounter< Dim >::Counts.
|
inlineinherited |
Definition at line 164 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::Current.
|
inline |
Definition at line 123 of file BareFieldIterator.h.
References IpplInfo::abort(), beginLField(), CurrentLField, Dim, done(), FieldLoc< Dim >::getIndex(), LFIndex, BrickIterator< T, Dim >::moveBy(), MyBareField, nextLField(), and PAssert.
Referenced by PatchBC< T, D, M, C >::apply(), and BareFieldIterator().
|
inlineinherited |
Definition at line 167 of file CompressedBrickIterator.h.
References BrickIterator< T, Dim >::Strides.
|
inlineinherited |
Definition at line 43 of file BrickIterator.h.
References Counts.
Referenced by all_values_equal(), all_values_equal(), all_values_equal(), all_values_equal(), for_each(), and CompressedBrickIterator< T, Dim >::putMessage().
|
inlineinherited |
Definition at line 95 of file BrickIterator.h.
References Current, BrickCounter< Dim >::step(), and Strides.
Referenced by all_values_equal(), for_each(), for_each(), for_each(), and op_pp().
|
inlineinherited |
Definition at line 160 of file BrickIterator.h.
References Strides.
Referenced by for_each(), for_each(), and for_each().
|
inline |
Definition at line 245 of file BareFieldIterator.h.
|
inherited |
Definition at line 385 of file CompressedBrickIterator.hpp.
References CanCompress(), Compress(), and IsCompressed().
|
inlineinherited |
Definition at line 123 of file BrickIterator.h.
References Current.
Referenced by for_each(), and for_each().
|
inlineinherited |
Definition at line 127 of file BrickIterator.h.
|
inlineinherited |
Definition at line 131 of file BrickIterator.h.
|
inlineinherited |
Definition at line 76 of file BrickIterator.h.
References Whole.
Referenced by putMessage(), and DiscField< Dim >::write_offset_and_data().
|
privateinherited |
Definition at line 177 of file CompressedBrickIterator.h.
Referenced by CanCompress(), Compress(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), CompressedBrickIterator(), GetCompressedData(), getMessage(), IsCompressed(), operator=(), and SetCompressedData().
|
protectedinherited |
Definition at line 50 of file BrickIterator.h.
Referenced by BrickCounter(), BrickIterator< T, Dim >::BrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), done(), BrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), GetOffset(), BrickIterator< T, Dim >::moveBy(), BrickIterator< T, Dim >::moveBy(), BrickIterator< T, Dim >::moveBy(), BrickIterator< T, Dim >::moveBy(), op_pp(), BrickIterator< T, Dim >::op_pp(), CompressedBrickIterator< T, Dim >::ResetCounter(), rewind(), and step().
|
protectedinherited |
Definition at line 51 of file BrickIterator.h.
Referenced by BrickCounter(), BrickIterator< T, Dim >::BrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), done(), BrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), op_pp(), BrickIterator< T, Dim >::op_pp(), BrickIterator< T, Dim >::putMessage(), BrickIterator< T, Dim >::rewind(), CompressedBrickIterator< T, Dim >::SetCount(), and size().
|
protectedinherited |
Definition at line 180 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), BrickIterator(), CompressedBrickIterator< T, Dim >::Compress(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::IsCompressed(), moveBy(), moveBy(), moveBy(), moveBy(), offset(), offset(), offset(), offset(), op_pp(), operator!=(), operator*(), operator==(), putMessage(), CompressedBrickIterator< T, Dim >::putMessage(), rewind(), CompressedBrickIterator< T, Dim >::SetCurrent(), step(), unit_offset(), unit_offset(), and unit_offset().
|
protected |
Definition at line 295 of file BareFieldIterator.h.
Referenced by BareFieldIterator(), BareFieldIterator(), BareFieldIterator(), IndexedBareFieldIterator< T, Dim >::beginLField(), done(), nextLField(), IndexedBareFieldIterator< T, Dim >::operator++(), operator=(), IndexedBareFieldIterator< T, Dim >::plugBase(), and SetCurrentLocation().
|
protected |
Definition at line 301 of file BareFieldIterator.h.
Referenced by BareFieldIterator(), BareFieldIterator(), and BareFieldIterator().
|
protected |
Definition at line 304 of file BareFieldIterator.h.
Referenced by BareFieldIterator(), BareFieldIterator(), BareFieldIterator(), BareFieldIterator(), beginLField(), IndexedBareFieldIterator< T, Dim >::beginLField(), GetCurrentLocation(), nextLField(), operator=(), and SetCurrentLocation().
|
protected |
Definition at line 298 of file BareFieldIterator.h.
Referenced by BareFieldIterator(), BareFieldIterator(), BareFieldIterator(), BareFieldIterator(), CanCompress(), done(), finishScalarCode(), GetBareField(), GetBareField(), IndexedBareFieldIterator< T, Dim >::getBareField(), IndexedBareFieldIterator< T, Dim >::getBareField(), operator*(), operator=(), IndexedBareFieldIterator< T, Dim >::plugBase(), prepareForScalarCode(), and SetCurrentLocation().
|
protectedinherited |
Definition at line 181 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), CompressedBrickIterator< T, Dim >::Compress(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), getMessage(), CompressedBrickIterator< T, Dim >::getMessage(), CompressedBrickIterator< T, Dim >::GetStride(), moveBy(), moveBy(), moveBy(), moveBy(), offset(), offset(), offset(), offset(), rewind(), CompressedBrickIterator< T, Dim >::SetStride(), step(), Stride(), unit_offset(), and unit_offset().
|
protectedinherited |
Definition at line 182 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), BrickIterator(), and whole().