RectangleStencil Class Reference

#include <Stencil.h>

Inheritance diagram for RectangleStencil:
Inheritance graph
[legend]
Collaboration diagram for RectangleStencil:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RectangleStencil (double dx, double dy, unsigned int nx)
 ~RectangleStencil ()
void addFlux (unsigned int meshIndex, vector< double > &f, const vector< vector< double > > &S, const vector< double > &diffConst) const

Detailed Description

Assumes a 2-D rectangular array, so the index offset for neighboring mesh points in x is 1, and in y is nx.


Constructor & Destructor Documentation

RectangleStencil::RectangleStencil ( double  dx,
double  dy,
unsigned int  nx 
)
RectangleStencil::~RectangleStencil (  ) 

Member Function Documentation

void RectangleStencil::addFlux ( unsigned int  meshIndex,
vector< double > &  f,
const vector< vector< double > > &  S,
const vector< double > &  diffConst 
) const [virtual]

computes the Flux f in the voxel on meshIndex. Takes the matrix of molNumber[meshIndex][pool] and the vector of diffusionConst[pool] as arguments.

Implements Stencil.


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

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1