|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <BrickIterator.h>
Public Types | |
| typedef T | PETE_Return_t |
| typedef BrickIterator< T, Dim > | PETE_Expr_t |
Public Member Functions | |
| 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 |
| bool | done (unsigned d) const |
| int | size (unsigned d) const |
| int | GetOffset (unsigned d) const |
Protected Member Functions | |
| void | op_pp () |
Protected Attributes | |
| T *__restrict__ | Current |
| vec< int, Dim > | Strides |
| bool | Whole |
| vec< int, Dim > | Counters |
| vec< int, Dim > | Counts |
Definition at line 59 of file BrickIterator.h.
| typedef BrickIterator<T,Dim> BrickIterator< T, Dim >::PETE_Expr_t |
Definition at line 175 of file BrickIterator.h.
| typedef T BrickIterator< T, Dim >::PETE_Return_t |
Definition at line 174 of file BrickIterator.h.
|
inline |
Definition at line 64 of file BrickIterator.h.
References Current, and Whole.
Referenced by CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), CompressedBrickIterator< T, Dim >::CompressedBrickIterator(), operator!=(), operator++(), CompressedBrickIterator< T, Dim >::operator=(), operator==(), and putMessage().
| BrickIterator< T, Dim >::BrickIterator | ( | T * | p, |
| const NDIndex< Dim > & | counted, | ||
| const NDIndex< Dim > & | domalloc ) |
Definition at line 68 of file BrickIterator.hpp.
References BrickCounter< Dim >::BrickCounter(), Current, Dim, Strides, and Whole.
| BrickIterator< T, Dim >::BrickIterator | ( | T * | p, |
| const vec< int, Dim > & | sizes ) |
Definition at line 90 of file BrickIterator.hpp.
References BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, Current, Dim, Strides, and Whole.
|
inlineinherited |
Definition at line 36 of file BrickIterator.h.
References Counters, and Counts.
Referenced by BareFieldIterator< T, Dim >::done(), and SIndexExpLoop< OP, Dim >::evaluate().
| Message & BrickIterator< T, Dim >::getMessage | ( | Message & | m | ) |
Definition at line 190 of file BrickIterator.hpp.
References BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, Current, Dim, Message::get(), Message::item(), PInsist, and Strides.
Referenced by CompressedBrickIterator< T, Dim >::getMessage().
|
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().
|
inline |
Definition at line 176 of file BrickIterator.h.
|
inline |
Definition at line 153 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, Dim, and Strides.
|
inline |
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().
|
inline |
Definition at line 140 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
|
inline |
Definition at line 146 of file BrickIterator.h.
References BrickCounter< Dim >::Counters, Current, and Strides.
|
inline |
Definition at line 119 of file BrickIterator.h.
References Current, vec< T, Length >::dot(), and Strides.
|
inline |
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().
|
inline |
Definition at line 111 of file BrickIterator.h.
|
inline |
Definition at line 115 of file BrickIterator.h.
|
protected |
Definition at line 111 of file BrickIterator.hpp.
References BrickCounter< Dim >::Counters, BrickCounter< Dim >::Counts, Current, Dim, rewind(), and step().
Referenced by operator++().
|
inline |
Definition at line 83 of file BrickIterator.h.
References a, BrickIterator(), and Current.
|
inline |
Definition at line 89 of file BrickIterator.h.
References Current.
Referenced by BareFieldIterator< T, Dim >::operator*().
|
inline |
Definition at line 73 of file BrickIterator.h.
References BrickIterator(), and op_pp().
|
inline |
Definition at line 79 of file BrickIterator.h.
References a, BrickIterator(), and Current.
| Message & BrickIterator< T, Dim >::putMessage | ( | Message & | m, |
| bool | makecopy = true ) |
Definition at line 139 of file BrickIterator.hpp.
References BrickIterator(), BrickCounter< Dim >::Counts, Current, Dim, Message::put(), Message::putmsg(), Message::setCopy(), Message::setDelete(), and whole().
Referenced by CompressedBrickIterator< T, Dim >::putMessage().
|
inline |
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 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().
|
inline |
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().
|
inline |
Definition at line 160 of file BrickIterator.h.
References Strides.
Referenced by for_each(), for_each(), and for_each().
|
inline |
Definition at line 123 of file BrickIterator.h.
References Current.
Referenced by for_each(), and for_each().
|
inline |
Definition at line 127 of file BrickIterator.h.
|
inline |
Definition at line 131 of file BrickIterator.h.
|
inline |
Definition at line 76 of file BrickIterator.h.
References Whole.
Referenced by putMessage(), and DiscField< Dim >::write_offset_and_data().
|
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().
|
protected |
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 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().
|
protected |
Definition at line 182 of file BrickIterator.h.
Referenced by BrickIterator(), BrickIterator(), BrickIterator(), and whole().