Chombo + EB + MF
3.2
|
#include <Stencils.H>
Public Member Functions | |
FaceStencil () | |
virtual | ~FaceStencil () |
void | clear () |
void | add (const FaceIndex &face, const Real &weight, int variable=0) |
void | shift (const IntVect &a_shift) |
virtual int | size () const |
void | setAllVariables (int a_var) |
const FaceIndex & | face (int i) const |
virtual const Real & | weight (int i) const |
virtual BaseIndex & | index (int i) const |
virtual const int & | variable (int i) const |
virtual int & | variable (int i) |
FaceStencil & | operator+= (const FaceStencil &a_facesten) |
FaceStencil & | operator= (const FaceStencil &a_facesten) |
FaceStencil (const FaceStencil &a_facesten) | |
void | operator*= (const Real &scaling) |
void | outputToPout () const |
Public Member Functions inherited from BaseStencil | |
BaseStencil () | |
virtual | ~BaseStencil () |
Private Attributes | |
Vector< FaceIndex > | faces |
the Faces More... | |
Vector< Real > | weights |
the weights More... | |
Vector< int > | variables |
the variable numbers More... | |
Face-centered Stencil for embedded boundary applications.
FaceStencil::FaceStencil | ( | ) |
|
virtual |
FaceStencil::FaceStencil | ( | const FaceStencil & | a_facesten | ) |
void FaceStencil::clear | ( | ) |
add an Face and it's weight If the face is already in the stencil, add the weights.
void FaceStencil::shift | ( | const IntVect & | a_shift | ) |
shift all entries by a_shift
|
virtual |
number of Faces in the Stencil
Implements BaseStencil.
|
inline |
References BaseStencil::weight().
const FaceIndex& FaceStencil::face | ( | int | i | ) | const |
access an Face
|
virtual |
access a weight
Implements BaseStencil.
|
inlinevirtual |
Implements BaseStencil.
References BaseStencil::variable().
|
virtual |
Implements BaseStencil.
|
virtual |
FaceStencil& FaceStencil::operator+= | ( | const FaceStencil & | a_facesten | ) |
add all faces and weights of inputs to this. If a face is already in the stencil, add the weights. only addition is well-defined here as far as arithmatic operations are concerned.
FaceStencil& FaceStencil::operator= | ( | const FaceStencil & | a_facesten | ) |
void FaceStencil::operator*= | ( | const Real & | scaling | ) |
void FaceStencil::outputToPout | ( | ) | const |
|
private |
the variable numbers