#include <PosReflectFaceBC.h>
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 |
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.
PosReflectFaceBC< Dim >::PosReflectFaceBC | ( | int | face, | |
bool | enforceZeroBoundary = false | |||
) | [inline] |
PosReflectFaceBC< Dim >::PosReflectFaceBC | ( | const PosReflectFaceBC< Dim > & | model | ) | [inline] |
PosReflectFaceBC< Dim >::PosReflectFaceBC | ( | const PosReflectFaceBC< Dim > & | init, | |
const Target & | t | |||
) | [inline] |
PosReflectFaceBC<Dim>& PosReflectFaceBC< Dim >::operator= | ( | const PosReflectFaceBC< Dim > & | rhs | ) | [inline] |
int PosReflectFaceBC< Dim >::face | ( | ) | const [inline] |
Face this operates on.
bool PosReflectFaceBC< Dim >::enforceZeroBoundary | ( | ) | const [inline] |
Whether we enforce zero boundary by setting it so.
void PosReflectFaceBC< Dim >::operator() | ( | const Target & | t | ) | const [inline] |