LineStencil Class Reference
#include <Stencil.h>
List of all members.
Public Member Functions |
| LineStencil (double h) |
| ~LineStencil () |
void | addFlux (unsigned int meshIndex, vector< double > &f, const vector< vector< double > > &S, const vector< double > &diffConst) const |
Detailed Description
Assumes a one-D uniform cartesian array, so the index offset for neighboring mesh points is always 1.
Constructor & Destructor Documentation
LineStencil::LineStencil |
( |
double |
h |
) |
|
LineStencil::~LineStencil |
( |
|
) |
|
Member Function Documentation
void LineStencil::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: