OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <NDIndex.h>
Public Member Functions | |
NDIndex () | |
NDIndex (const Index *idx) | |
NDIndex (const Index &) | |
NDIndex (const Index &, const Index &) | |
NDIndex (const Index &, const Index &, const Index &) | |
NDIndex (const Index &, const Index &, const Index &, const Index &) | |
NDIndex (const Index &, const Index &, const Index &, const Index &, const Index &) | |
NDIndex (const Index &, const Index &, const Index &, const Index &, const Index &, const Index &) | |
NDIndex (const NDIndex< Dim-1 > &, const Index &) | |
const Index & | operator[] (unsigned d) const |
Index & | operator[] (unsigned d) |
unsigned | size () const |
bool | empty () const |
NDIndex< Dim > | intersect (const NDIndex< Dim > &) const |
template<unsigned D> | |
NDIndex< Dim > | plugBase (const NDIndex< D > &i) const |
bool | touches (const NDIndex< Dim > &) const |
bool | contains (const NDIndex< Dim > &a) const |
bool | containsAllPoints (const NDIndex< Dim > &b) const |
bool | split (NDIndex< Dim > &l, NDIndex< Dim > &r, unsigned d, double a) const |
bool | split (NDIndex< Dim > &l, NDIndex< Dim > &r, unsigned d) const |
bool | split (NDIndex< Dim > &l, NDIndex< Dim > &r) const |
Message & | putMessage (Message &m) const |
Message & | getMessage (Message &m) |
NDIndex (const NDIndex< 1 > &ndi, const Index &i) | |
NDIndex (const NDIndex< 3 > &ndi, const Index &i) | |
NDIndex (const NDIndex< 4 > &ndi, const Index &i) | |
NDIndex (const NDIndex< 5 > &ndi, const Index &i) | |
Private Attributes | |
Index | p [Dim==0?1:Dim] |
Definition at line 22 of file NDIndexInlines.h.
References Dim.
Definition at line 169 of file NDIndexInlines.h.
Definition at line 177 of file NDIndexInlines.h.
|
inline |
Definition at line 186 of file NDIndexInlines.h.
|
inline |
Definition at line 196 of file NDIndexInlines.h.
|
inline |
Definition at line 208 of file NDIndexInlines.h.
|
inline |
Definition at line 221 of file NDIndexInlines.h.
Definition at line 234 of file NDIndexInlines.h.
Definition at line 247 of file NDIndexInlines.h.
Definition at line 255 of file NDIndexInlines.h.
Definition at line 264 of file NDIndexInlines.h.
Definition at line 92 of file NDIndexInlines.h.
Referenced by assign(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), IndexedLocalAssign(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), and DiscField< Dim >::read().
|
inline |
Definition at line 104 of file NDIndexInlines.h.
Referenced by assign(), IndexedLocalAssign(), IndexedReceive(), and TryCompressLHS().
Definition at line 116 of file NDIndexInlines.h.
Referenced by assign(), SubFieldIter< T, Dim, NDIndex< Dim > >::findIntersection(), and SubFieldIter< T, Dim, SOffset< Dim > >::findIntersection().
Definition at line 138 of file NDIndex.h.
References Dim, and NDIndex< Dim >::p.
Referenced by BareField< T, Dim >::accumGuardCells(), assign(), FieldLayout< Dim >::FieldLayout(), FieldDataSource< T, Dim, M, C >::gather_data(), IndexedReceive(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), DiscField< Dim >::read(), and DiscField< Dim >::write().
|
inline |
Definition at line 31 of file NDIndexInlines.h.
References Dim.
Referenced by BareField< T, Dim >::accumGuardCells(), PatchBC< T, D, M, C >::apply(), assign(), CalcIndexedReceive(), ComponentFunctionFaceBCApply(), ComponentLinearExtrapolateFaceBCApply(), DiscField< Dim >::compute_expected(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateAndZeroFaceBCApply2(), ExtrapolateFaceBCApply(), ExtrapolateFaceBCApply2(), SubFieldIter< T, Dim, NDIndex< Dim > >::findIntersection(), FunctionFaceBCApply(), IndexedLocalAssign(), InterpolationFaceBCApply(), LinearExtrapolateFaceBCApply(), PeriodicFaceBCApply(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), DiscField< Dim >::read(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), and UniformCartesian< Dim, MFLOAT >::storeSpacingFields().
Definition at line 101 of file NDIndex.h.
References NDIndex< Dim >::p.
Definition at line 97 of file NDIndex.h.
References NDIndex< Dim >::p.
|
inline |
Definition at line 114 of file NDIndex.h.
References plugBase().
Referenced by ComponentFunctionFaceBCApply(), ExtrapolateAndZeroFaceBCApply2(), ExtrapolateFaceBCApply2(), FunctionFaceBCApply(), InterpolationFaceBCApply(), PeriodicFaceBCApply(), plugBase(), SubFieldIter< T, Dim, NDIndex< Dim > >::plugBase(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), and UniformCartesian< Dim, MFLOAT >::storeSpacingFields().
Definition at line 130 of file NDIndex.h.
References Dim, and NDIndex< Dim >::p.
Referenced by assign(), FieldDataSource< T, Dim, M, C >::gather_data(), IndexedSend(), BareField< T1, D >::notifyUserOfDelete(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), DiscField< Dim >::read(), and DiscField< Dim >::write().
Definition at line 68 of file NDIndexInlines.h.
References Dim.
Referenced by SIndex< Dim >::addIndex(), DiscField< Dim >::chunk_domain(), DiscField< Dim >::compute_expected(), DiscField< Dim >::distribute_offsets(), FieldLayout< Dim >::FieldLayout(), FieldLayout< Dim >::initialize(), DiscField< Dim >::read(), SIndex< Dim >::removeIndex(), FieldLayout< Dim >::setup(), and DiscField< Dim >::write_offset_and_data().
|
inline |
Definition at line 153 of file NDIndexInlines.h.
References Dim.
|
inline |
Definition at line 140 of file NDIndexInlines.h.
References NDIndex< Dim >::split().
|
inline |
Definition at line 128 of file NDIndexInlines.h.
References a, and NDIndex< Dim >::split().
Referenced by FieldLayout< Dim >::setup(), and NDIndex< Dim >::split().
Definition at line 80 of file NDIndexInlines.h.
Referenced by BareField< T, Dim >::accumGuardCells(), AssignTouches< D1, D1 >::apply(), PatchBC< T, D, M, C >::apply(), assign(), CalcIndexedReceive(), ComponentFunctionFaceBCApply(), ComponentLinearExtrapolateFaceBCApply(), DiscField< Dim >::compute_expected(), DiscField< Dim >::distribute_offsets(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), FunctionFaceBCApply(), BareField< T, Dim >::getsingle(), IndexedLocalAssign(), IndexedSend(), InterpolationFaceBCApply(), LinearExtrapolateFaceBCApply(), PeriodicFaceBCApply(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), DiscField< Dim >::read(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), and UniformCartesian< Dim, MFLOAT >::storeSpacingFields().
Definition at line 145 of file NDIndex.h.
Referenced by NDIndex< Dim >::getMessage(), NDIndex< Dim >::operator[](), and NDIndex< Dim >::putMessage().