Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

FaceStencil Class Reference

#include <Stencils.H>

Collaboration diagram for FaceStencil:

Collaboration graph
[legend]
List of all members.

Public Methods

 FaceStencil ()
 ~FaceStencil ()
void clear ()
void add (const FaceIndex &face, const Real &weight)
int size () const
const FaceIndexface (int i) const
const Realweight (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< FaceIndexfaces
 the Faces

Vector< Realweights
 the weights


Detailed Description

Face-centered Stencil for embedded boundary applications.


Constructor & Destructor Documentation

FaceStencil::FaceStencil  
 

FaceStencil::~FaceStencil  
 

FaceStencil::FaceStencil const FaceStencil &    a_facesten
 


Member Function Documentation

void FaceStencil::add const FaceIndex   face,
const Real   weight
 

add an Face and it's weight If the face is already in the stencil, add the weights.

void FaceStencil::clear  
 

const FaceIndex& FaceStencil::face int    i const
 

access an Face

void FaceStencil::operator *= const Real   scaling
 

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
 

int FaceStencil::size   const
 

number of Faces in the Stencil

const Real& FaceStencil::weight int    i const
 

access a weight


Member Data Documentation

Vector<FaceIndex> FaceStencil::faces [private]
 

the Faces

Vector<Real> FaceStencil::weights [private]
 

the weights


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:16 2003 for EBChombo by doxygen1.2.16