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

VoFStencil Class Reference

VoF-centered stencil. More...

#include <Stencils.H>

Collaboration diagram for VoFStencil:

Collaboration graph
[legend]
List of all members.

Public Methods

 VoFStencil ()
 ~VoFStencil ()
void clear ()
void add (const VolIndex &vof, const Real &weight)
int size () const
const VolIndexvof (int i) const
const Realweight (int i) const
VoFStencil & operator+= (const VoFStencil &a_vofsten)
void operator *= (const Real &scaling)
VoFStencil & operator= (const VoFStencil &a_vofsten)
 VoFStencil (const VoFStencil &a_vofstenin)
bool isDefined () const

Protected Attributes

bool m_isDefined
Vector< VolIndexvofs
 the VoFs

Vector< Realweights
 the weights


Detailed Description

VoF-centered stencil.

This stencil is a fundamental tool for building eb applications by making the ability to cache stencil information. This object consists of a vector of VoFs and a vector of weights.


Constructor & Destructor Documentation

VoFStencil::VoFStencil  
 

default constructor. makes empty vectors.

VoFStencil::~VoFStencil  
 

VoFStencil::VoFStencil const VoFStencil &    a_vofstenin
 


Member Function Documentation

void VoFStencil::add const VolIndex   vof,
const Real   weight
 

add a VoF to the Stencil, with it's associated weight it is required that all VoFs are in the same EBIndexSpace If the vof is already in the stencil, add the weights.

void VoFStencil::clear  
 

bool VoFStencil::isDefined   const
 

void VoFStencil::operator *= const Real   scaling
 

VoFStencil& VoFStencil::operator+= const VoFStencil &    a_vofsten
 

add all faces and weights of inputs to this. If a vof is already in the stencil, add the weights. only addition is well-defined here as far as arithmatic operations are concerned.

VoFStencil& VoFStencil::operator= const VoFStencil &    a_vofsten
 

int VoFStencil::size   const
 

number of VoFs in the Stencil

const VolIndex& VoFStencil::vof int    i const
 

access a VoF

const Real& VoFStencil::weight int    i const
 

access a weight


Member Data Documentation

bool VoFStencil::m_isDefined [protected]
 

Vector<VolIndex> VoFStencil::vofs [protected]
 

the VoFs

Vector<Real> VoFStencil::weights [protected]
 

the weights


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