FreePOOMA  2.4.1
Public Member Functions
PosReflectFaceBC< Dim > Class Template Reference

PosReflectFaceBC is an Relation functor class. More...

#include <PosReflectFaceBC.h>

List of all members.

Public Member Functions

 PosReflectFaceBC (int face, bool enforceZeroBoundary=false)
 PosReflectFaceBC (const PosReflectFaceBC< Dim > &model)
template<class Target >
 PosReflectFaceBC (const PosReflectFaceBC< Dim > &init, const Target &t)
PosReflectFaceBC< Dim > & operator= (const PosReflectFaceBC< Dim > &rhs)
int face () const
 Face this operates on.
bool enforceZeroBoundary () const
 Whether we enforce zero boundary by setting it so.
template<class Target >
void operator() (const Target &t) const

Detailed Description

template<int Dim>
class PosReflectFaceBC< Dim >

PosReflectFaceBC is an Relation functor class.

It represents a Dirichlet boundary condition on a logically rectilinear domain where the value on that face is obtained by positive reflection. A constructor switch allows the BC to enforce that the mesh-boundary value is zero; this affects only vertex-centered Field values/components because the boundary is defined to be the last vertex.


Constructor & Destructor Documentation

template<int Dim>
PosReflectFaceBC< Dim >::PosReflectFaceBC ( int  face,
bool  enforceZeroBoundary = false 
) [inline]
template<int Dim>
PosReflectFaceBC< Dim >::PosReflectFaceBC ( const PosReflectFaceBC< Dim > &  model) [inline]
template<int Dim>
template<class Target >
PosReflectFaceBC< Dim >::PosReflectFaceBC ( const PosReflectFaceBC< Dim > &  init,
const Target &  t 
) [inline]

References max(), and PAssert.


Member Function Documentation

template<int Dim>
PosReflectFaceBC<Dim>& PosReflectFaceBC< Dim >::operator= ( const PosReflectFaceBC< Dim > &  rhs) [inline]
template<int Dim>
int PosReflectFaceBC< Dim >::face ( ) const [inline]

Face this operates on.

template<int Dim>
bool PosReflectFaceBC< Dim >::enforceZeroBoundary ( ) const [inline]

Whether we enforce zero boundary by setting it so.

template<int Dim>
template<class Target >
void PosReflectFaceBC< Dim >::operator() ( const Target &  t) const [inline]

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