#include <Stencils.H>

Public Member Functions | |
| FaceStencil () | |
| ~FaceStencil () | |
| void | clear () |
| void | add (const FaceIndex &face, const Real &weight, int variable=0) |
| int | size () const |
| const FaceIndex & | face (int i) const |
| const Real & | weight (int i) const |
| const int & | variable (int i) const |
| 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) |
Private Attributes | |
| Vector< FaceIndex > | faces |
| the Faces | |
| Vector< Real > | weights |
| the weights | |
| Vector< int > | variables |
| the variable numbers | |
| FaceStencil::FaceStencil | ( | ) |
| FaceStencil::~FaceStencil | ( | ) |
| 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.
| int FaceStencil::size | ( | ) | const |
number of Faces in the Stencil
| const FaceIndex& FaceStencil::face | ( | int | i | ) | const |
access an Face
| const Real& FaceStencil::weight | ( | int | i | ) | const |
access a weight
| const int& FaceStencil::variable | ( | int | i | ) | const |
| int& FaceStencil::variable | ( | int | i | ) |
| 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 | ) |
Vector<FaceIndex> FaceStencil::faces [private] |
the Faces
Vector<Real> FaceStencil::weights [private] |
the weights
Vector<int> FaceStencil::variables [private] |
the variable numbers
1.5.5