OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <Index.h>
Classes | |
class | cursor |
class | DontInitialize |
class | iterator |
Public Types | |
typedef cursor | PETE_Expr_t |
![]() | |
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 |
![]() | |
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.
References PAssert_GE.
|
inline |
Definition at line 61 of file IndexInlines.h.
References Length, and PAssert_NE.
|
inlineprivate |
Definition at line 84 of file IndexInlines.h.
|
inlineprivate |
Definition at line 94 of file IndexInlines.h.
|
inlineprivate |
|
inline |
|
inline |
|
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(), UniformCartesian< D, T >::initialize(), Cartesian< Dim, MFLOAT >::initialize(), intersect(), operator<<(), putMessage(), RegionLayout< T, Dim, MeshType >::RegionLayout(), spap(), split(), UniformCartesian< D, T >::UniformCartesian(), and FieldView< T, Dim, Mesh, Centering >::update_3D_data().
Definition at line 190 of file Index.cpp.
References Base, 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 475 of file Index.h.
References Message::get(), and Index().
|
inline |
Definition at line 108 of file Index.cpp.
References Base, BaseFirst, endl(), first(), First, general_intersect(), last(), Length, PAssert_EQ, stride(), and Stride.
Referenced by PatchBC< T, D, M, C >::apply(), general_intersect(), and spap().
|
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 CalcParallelInterpolationDomain(), CalcParallelPeriodicDomain(), Cartesian< Dim, MFLOAT >::Cartesian(), Grad(), UniformCartesian< D, T >::initialize(), Cartesian< Dim, MFLOAT >::initialize(), InterpolationFaceBCApply(), PeriodicFaceBCApply(), putMessage(), split(), UniformCartesian< D, T >::UniformCartesian(), and FieldView< T, Dim, Mesh, Centering >::update_3D_data().
|
inline |
Definition at line 146 of file IndexInlines.h.
References First, Length, and Stride.
Referenced by ComponentFunctionFaceBCApply(), contains(), containsAllPoints(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), FunctionFaceBCApply(), general_intersect(), and touches().
|
inline |
Definition at line 141 of file IndexInlines.h.
References First, Length, and Stride.
Referenced by ComponentFunctionFaceBCApply(), contains(), containsAllPoints(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), FunctionFaceBCApply(), general_intersect(), and touches().
|
inline |
|
inline |
Definition at line 215 of file IndexInlines.h.
References 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 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(), UniformCartesian< D, T >::initialize(), Cartesian< Dim, MFLOAT >::initialize(), intersect(), operator<<(), putMessage(), RegionLayout< T, Dim, MeshType >::RegionLayout(), and UniformCartesian< D, T >::UniformCartesian().
|
inline |
Definition at line 242 of file IndexInlines.h.
Referenced by PatchBC< T, D, M, C >::apply(), and spap().
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 172 of file IndexInlines.h.
Definition at line 177 of file IndexInlines.h.
Definition at line 182 of file IndexInlines.h.
Definition at line 197 of file IndexInlines.h.
|
private |
Definition at line 501 of file Index.h.
Referenced by general_intersect(), getBase(), id(), intersect(), plugBase(), reverse(), and sameBase().
|
private |
Definition at line 497 of file Index.h.
Referenced by general_intersect(), intersect(), plugBase(), and reverse().
|
private |
Definition at line 490 of file Index.h.
Referenced by begin(), end(), first(), general_intersect(), intersect(), last(), max(), min(), operator/(), operator<(), operator==(), plugBase(), reverse(), and split().
|
private |
Definition at line 492 of file Index.h.
Referenced by empty(), end(), Index(), intersect(), last(), length(), max(), min(), operator<(), operator==(), plugBase(), reverse(), and split().
|
private |
Definition at line 491 of file Index.h.
Referenced by begin(), end(), general_intersect(), intersect(), last(), max(), min(), operator/(), operator<(), operator==(), plugBase(), reverse(), split(), and stride().