FreePOOMA
2.4.1
|
This class is a simple container for two arrays of Dim integers, specifying the numbers of guard layers at the upper and lower extent of each dimension. More...
#include <GuardLayers.h>
Public Member Functions | |
GuardLayers (int gcs=0) | |
GuardLayers (int lower[Dim], int upper[Dim]) | |
GuardLayers (const Loc< Dim > &lower, const Loc< Dim > &upper) | |
void | initialize (const Loc< Dim > &lower, const Loc< Dim > &upper) |
void | initialize (const GuardLayers< Dim > &gl) |
int | lower (int i) const |
int | upper (int i) const |
int & | lower (int i) |
int & | upper (int i) |
bool | operator== (const GuardLayers< Dim > &gcs) const |
bool | operator== (int gcw) const |
bool | operator!= (const GuardLayers< Dim > &gcs) const |
bool | operator!= (int gcw) const |
GuardLayers< Dim > | operator- (const GuardLayers< Dim > &gcs) |
GuardLayers< Dim > | operator- (int dw) |
Interval< Dim > | addGuardLayersToDomain (const Interval< Dim > &d) const |
template<class Ostream > | |
void | print (Ostream &ostr) const |
Static Public Member Functions | |
static void | addGuardLayers (Interval< Dim > &dom, const GuardLayers< Dim > &gcs) |
This class is a simple container for two arrays of Dim integers, specifying the numbers of guard layers at the upper and lower extent of each dimension.
GuardLayers< Dim >::GuardLayers | ( | int | gcs = 0 | ) | [inline, explicit] |
References PAssert.
GuardLayers< Dim >::GuardLayers | ( | int | lower[Dim], |
int | upper[Dim] | ||
) | [inline] |
References GuardLayers< Dim >::lower(), PAssert, and GuardLayers< Dim >::upper().
GuardLayers< Dim >::GuardLayers | ( | const Loc< Dim > & | lower, |
const Loc< Dim > & | upper | ||
) | [inline] |
References PAssert.
void GuardLayers< Dim >::initialize | ( | const Loc< Dim > & | lower, |
const Loc< Dim > & | upper | ||
) | [inline] |
References PAssert.
void GuardLayers< Dim >::initialize | ( | const GuardLayers< Dim > & | gl | ) | [inline] |
int GuardLayers< Dim >::lower | ( | int | i | ) | const [inline] |
References PInsist.
Referenced by GuardLayers< Dim >::addGuardLayers(), LeafFunctor< Engine< D, T, StencilEngine< S, E > >, ExpressionApply< IntersectorTag< Intersect > > >::apply(), MultiArgEvaluator< MultiPatchEvaluatorTag >::evaluate(), MultiArgEvaluator< RemoteMultiPatchEvaluatorTag >::evaluate(), DomainLayout< Dim >::externalGuards(), growInPlace(), GuardLayers< Dim >::GuardLayers(), IntersectorData< Dim >::intersect(), LayoutBaseViewData< Dim, Dim2, GridLayout< Dim2 > >::LayoutBaseViewData(), FieldShiftSimple< Expression >::make(), GuardLayers< Dim >::operator-(), UniformGridPartition< Dim >::partition(), IntersectorData< Dim >::sameBaseDomain(), shrinkInPlace(), and SparseTileLayoutViewData< Dim, Dim2 >::SparseTileLayoutViewData().
int GuardLayers< Dim >::upper | ( | int | i | ) | const [inline] |
References PInsist.
Referenced by GuardLayers< Dim >::addGuardLayers(), LeafFunctor< Engine< D, T, StencilEngine< S, E > >, ExpressionApply< IntersectorTag< Intersect > > >::apply(), MultiArgEvaluator< MultiPatchEvaluatorTag >::evaluate(), MultiArgEvaluator< RemoteMultiPatchEvaluatorTag >::evaluate(), DomainLayout< Dim >::externalGuards(), growInPlace(), GuardLayers< Dim >::GuardLayers(), IntersectorData< Dim >::intersect(), LayoutBaseViewData< Dim, Dim2, GridLayout< Dim2 > >::LayoutBaseViewData(), GuardLayers< Dim >::operator-(), UniformGridPartition< Dim >::partition(), IntersectorData< Dim >::sameBaseDomain(), shrinkInPlace(), and SparseTileLayoutViewData< Dim, Dim2 >::SparseTileLayoutViewData().
int& GuardLayers< Dim >::lower | ( | int | i | ) | [inline] |
References PInsist.
int& GuardLayers< Dim >::upper | ( | int | i | ) | [inline] |
References PInsist.
bool GuardLayers< Dim >::operator== | ( | const GuardLayers< Dim > & | gcs | ) | const [inline] |
Referenced by GuardLayers< Dim >::operator!=().
bool GuardLayers< Dim >::operator== | ( | int | gcw | ) | const [inline] |
bool GuardLayers< Dim >::operator!= | ( | const GuardLayers< Dim > & | gcs | ) | const [inline] |
References GuardLayers< Dim >::operator==().
bool GuardLayers< Dim >::operator!= | ( | int | gcw | ) | const [inline] |
References GuardLayers< Dim >::operator==().
GuardLayers<Dim> GuardLayers< Dim >::operator- | ( | const GuardLayers< Dim > & | gcs | ) | [inline] |
References GuardLayers< Dim >::lower(), PAssert, and GuardLayers< Dim >::upper().
GuardLayers<Dim> GuardLayers< Dim >::operator- | ( | int | dw | ) | [inline] |
References GuardLayers< Dim >::lower(), PAssert, and GuardLayers< Dim >::upper().
static void GuardLayers< Dim >::addGuardLayers | ( | Interval< Dim > & | dom, |
const GuardLayers< Dim > & | gcs | ||
) | [inline, static] |
References GuardLayers< Dim >::lower(), and GuardLayers< Dim >::upper().
Referenced by GuardLayers< Dim >::addGuardLayersToDomain(), and UniformGridPartition< Dim >::partition().
Interval<Dim> GuardLayers< Dim >::addGuardLayersToDomain | ( | const Interval< Dim > & | d | ) | const [inline] |
References GuardLayers< Dim >::addGuardLayers().
void GuardLayers< Dim >::print | ( | Ostream & | ostr | ) | const [inline] |
Referenced by operator<<().