FaceStencil Class Reference

#include <Stencils.H>

Collaboration diagram for FaceStencil:

Collaboration graph
[legend]

List of all members.


Detailed Description

Face-centered Stencil for embedded boundary applications.

Public Member Functions

 FaceStencil ()
 ~FaceStencil ()
void clear ()
void add (const FaceIndex &face, const Real &weight, int variable=0)
int size () const
const FaceIndexface (int i) const
const Realweight (int i) const
const int & variable (int i) const
int & variable (int i)
FaceStenciloperator+= (const FaceStencil &a_facesten)
FaceStenciloperator= (const FaceStencil &a_facesten)
 FaceStencil (const FaceStencil &a_facesten)
void operator*= (const Real &scaling)

Private Attributes

Vector< FaceIndexfaces
 the Faces
Vector< Realweights
 the weights
Vector< int > variables
 the variable numbers

Constructor & Destructor Documentation

FaceStencil::FaceStencil (  ) 

FaceStencil::~FaceStencil (  ) 

FaceStencil::FaceStencil ( const FaceStencil a_facesten  ) 


Member Function Documentation

void FaceStencil::clear (  ) 

void FaceStencil::add ( const FaceIndex face,
const Real weight,
int  variable = 0 
)

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  ) 


Member Data Documentation

the Faces

the weights

the variable numbers


The documentation for this class was generated from the following file:

Generated on Tue Apr 14 14:23:34 2009 for Chombo + EB by  doxygen 1.5.5