#include <Stencils.H>
Collaboration diagram for FaceStencil:
Public Methods | |
FaceStencil () | |
~FaceStencil () | |
void | clear () |
void | add (const FaceIndex &face, const Real &weight) |
int | size () const |
const FaceIndex & | face (int i) const |
const Real & | weight (int i) const |
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 |
|
|
|
|
|
|
|
add an Face and it's weight If the face is already in the stencil, add the weights. |
|
|
|
access an Face |
|
|
|
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. |
|
|
|
number of Faces in the Stencil |
|
access a weight |
|
the Faces
|
|
the weights
|