OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <Index.h>
Classes | |
class | cursor |
class | DontInitialize |
class | iterator |
Public Types | |
typedef cursor | PETE_Expr_t |
Public Types inherited from PETE_Expr< Index > | |
typedef Index | Wrapped |
Public Member Functions | |
Index () | |
Index (unsigned n) | |
Index (int f, int l) | |
Index (int f, int l, int s) | |
~Index () | |
int | id () const |
int | min () const |
int | max () const |
unsigned int | length () const |
int | stride () const |
int | first () const |
int | last () const |
bool | empty () const |
int | getBase () const |
Index | intersect (const Index &) const |
Index | plugBase (const Index &) const |
bool | sameBase (const Index &) const |
bool | touches (const Index &a) const |
bool | contains (const Index &a) const |
bool | containsAllPoints (const Index &b) const |
bool | split (Index &l, Index &r) const |
bool | split (Index &l, Index &r, double a) const |
iterator | begin () |
iterator | end () |
bool | operator< (const Index &r) const |
bool | operator== (const Index &r) const |
Message & | putMessage (Message &m) const |
Message & | getMessage (Message &m) |
cursor | MakeExpression () const |
Public Member Functions inherited from PETE_Expr< Index > | |
Index & | PETE_unwrap () |
const Index & | PETE_unwrap () const |
Static Public Member Functions | |
static void | findPut (const Index &, const Index &, const Index &, Index &, Index &) |
Private Member Functions | |
Index | reverse () const |
Index (int m, int a, const Index &b) | |
Index (int f, int s, const Index *b) | |
Index | general_intersect (const Index &) const |
Index (DontInitialize) | |
Private Attributes | |
int | First |
int | Stride |
unsigned | Length |
unsigned | BaseFirst |
int | Base |
Friends | |
Index | operator+ (const Index &, int) |
Index | operator+ (int, const Index &) |
Index | operator- (const Index &, int) |
Index | operator- (int, const Index &) |
Index | operator- (const Index &) |
Index | operator* (const Index &, int) |
Index | operator* (int, const Index &) |
Index | operator/ (const Index &, int) |
typedef cursor Index::PETE_Expr_t |
|
inline |
Definition at line 22 of file IndexInlines.h.
Referenced by general_intersect(), getMessage(), and split().
|
inline |
Definition at line 36 of file IndexInlines.h.
|
inline |
Definition at line 50 of file IndexInlines.h.
|
inline |
Definition at line 61 of file IndexInlines.h.
|
inlineprivate |
Definition at line 84 of file IndexInlines.h.
|
inlineprivate |
Definition at line 94 of file IndexInlines.h.
|
inlineprivate |
|
inline |
|
inline |
Definition at line 248 of file IndexInlines.h.
References a, max(), and min().
|
inline |
Definition at line 253 of file IndexInlines.h.
References Physics::a0, max(), min(), and stride().
|
inline |
Definition at line 126 of file IndexInlines.h.
References Length.
|
inline |
|
static |
|
inline |
Definition at line 116 of file IndexInlines.h.
References First.
Referenced by Cartesian< Dim, MFLOAT >::Cartesian(), Cartesian< Dim, MFLOAT >::initialize(), UniformCartesian< Dim, MFLOAT >::initialize(), intersect(), operator<<(), Index::cursor::plugBase(), putMessage(), RegionLayout< T, Dim, MeshType >::RegionLayout(), spap(), split(), and UniformCartesian< Dim, MFLOAT >::UniformCartesian().
Definition at line 173 of file Index.cpp.
References BaseFirst, First, Index(), intersect(), max(), min(), PAssert_GE, reverse(), and Stride.
Referenced by intersect().
|
inline |
Definition at line 151 of file IndexInlines.h.
References Base.
Definition at line 460 of file Index.h.
References Message::get(), and Index().
|
inline |
|
inline |
Definition at line 136 of file IndexInlines.h.
References First, Length, and Stride.
Referenced by intersect(), operator<<(), RegionLayout< T, Dim, MeshType >::RegionLayout(), reverse(), and spap().
|
inline |
Definition at line 131 of file IndexInlines.h.
References Length.
Referenced by Cartesian< Dim, MFLOAT >::Cartesian(), UniformCartesian< Dim, T >::get_volume(), Grad(), Cartesian< Dim, MFLOAT >::initialize(), UniformCartesian< Dim, MFLOAT >::initialize(), putMessage(), UniformCartesian< Dim, T >::set_Dvc(), split(), and UniformCartesian< Dim, MFLOAT >::UniformCartesian().
|
inline |
Definition at line 146 of file IndexInlines.h.
References First, Length, and Stride.
Referenced by contains(), containsAllPoints(), general_intersect(), and touches().
|
inline |
Definition at line 141 of file IndexInlines.h.
References First, Length, and Stride.
Referenced by contains(), containsAllPoints(), general_intersect(), and touches().
|
inline |
|
inline |
Definition at line 215 of file IndexInlines.h.
References a, Base, BaseFirst, First, Length, and Stride.
Referenced by Index::cursor::plugBase().
|
inlineprivate |
Definition at line 228 of file IndexInlines.h.
References Base, BaseFirst, First, last(), Length, and Stride.
Referenced by general_intersect().
|
inline |
Definition at line 208 of file IndexInlines.h.
References Base.
Definition at line 285 of file IndexInlines.h.
References first(), First, Index(), length(), Length, PAssert_EQ, PAssert_GT, and Stride.
Definition at line 303 of file IndexInlines.h.
References a, first(), First, Index(), length(), Length, PAssert_EQ, PAssert_GT, PAssert_LT, and Stride.
|
inline |
Definition at line 121 of file IndexInlines.h.
References Stride.
Referenced by Cartesian< Dim, MFLOAT >::Cartesian(), containsAllPoints(), Cartesian< Dim, MFLOAT >::initialize(), UniformCartesian< Dim, MFLOAT >::initialize(), intersect(), operator<<(), Index::cursor::plugBase(), putMessage(), RegionLayout< T, Dim, MeshType >::RegionLayout(), and UniformCartesian< Dim, MFLOAT >::UniformCartesian().
|
inline |
Definition at line 187 of file IndexInlines.h.
Definition at line 192 of file IndexInlines.h.
Definition at line 162 of file IndexInlines.h.
Definition at line 167 of file IndexInlines.h.
Definition at line 182 of file IndexInlines.h.
Definition at line 172 of file IndexInlines.h.
Definition at line 177 of file IndexInlines.h.
Definition at line 197 of file IndexInlines.h.
|
private |
Definition at line 486 of file Index.h.
Referenced by getBase(), id(), intersect(), plugBase(), reverse(), and sameBase().
|
private |
Definition at line 482 of file Index.h.
Referenced by general_intersect(), intersect(), plugBase(), and reverse().
|
private |
Definition at line 475 of file Index.h.
Referenced by begin(), end(), first(), general_intersect(), intersect(), last(), max(), min(), operator<(), operator==(), plugBase(), reverse(), and split().
|
private |
Definition at line 477 of file Index.h.
Referenced by empty(), end(), intersect(), last(), length(), max(), min(), operator<(), operator==(), plugBase(), reverse(), and split().
|
private |
Definition at line 476 of file Index.h.
Referenced by begin(), end(), general_intersect(), intersect(), last(), max(), min(), operator<(), operator==(), plugBase(), reverse(), split(), and stride().