FreePOOMA  2.4.1
Public Member Functions | Static Public Member Functions
GuardLayers< Dim > Class Template Reference

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>

List of all members.

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)

Detailed Description

template<int Dim>
class GuardLayers< Dim >

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.


Constructor & Destructor Documentation

template<int Dim>
GuardLayers< Dim >::GuardLayers ( int  gcs = 0) [inline, explicit]

References PAssert.

template<int Dim>
GuardLayers< Dim >::GuardLayers ( int  lower[Dim],
int  upper[Dim] 
) [inline]
template<int Dim>
GuardLayers< Dim >::GuardLayers ( const Loc< Dim > &  lower,
const Loc< Dim > &  upper 
) [inline]

References PAssert.


Member Function Documentation

template<int Dim>
void GuardLayers< Dim >::initialize ( const Loc< Dim > &  lower,
const Loc< Dim > &  upper 
) [inline]

References PAssert.

template<int Dim>
void GuardLayers< Dim >::initialize ( const GuardLayers< Dim > &  gl) [inline]
template<int Dim>
int GuardLayers< Dim >::lower ( int  i) const [inline]
template<int Dim>
int GuardLayers< Dim >::upper ( int  i) const [inline]
template<int Dim>
int& GuardLayers< Dim >::lower ( int  i) [inline]

References PInsist.

template<int Dim>
int& GuardLayers< Dim >::upper ( int  i) [inline]

References PInsist.

template<int Dim>
bool GuardLayers< Dim >::operator== ( const GuardLayers< Dim > &  gcs) const [inline]
template<int Dim>
bool GuardLayers< Dim >::operator== ( int  gcw) const [inline]
template<int Dim>
bool GuardLayers< Dim >::operator!= ( const GuardLayers< Dim > &  gcs) const [inline]
template<int Dim>
bool GuardLayers< Dim >::operator!= ( int  gcw) const [inline]
template<int Dim>
GuardLayers<Dim> GuardLayers< Dim >::operator- ( const GuardLayers< Dim > &  gcs) [inline]
template<int Dim>
GuardLayers<Dim> GuardLayers< Dim >::operator- ( int  dw) [inline]
template<int Dim>
static void GuardLayers< Dim >::addGuardLayers ( Interval< Dim > &  dom,
const GuardLayers< Dim > &  gcs 
) [inline, static]
template<int Dim>
Interval<Dim> GuardLayers< Dim >::addGuardLayersToDomain ( const Interval< Dim > &  d) const [inline]
template<int Dim>
template<class Ostream >
void GuardLayers< Dim >::print ( Ostream &  ostr) const [inline]

Referenced by operator<<().


The documentation for this class was generated from the following file: