CuboidStencil Class Reference
#include <Stencil.h>
List of all members.
Public Member Functions |
| CuboidStencil (double dx, double dy, double dz, unsigned int nx, unsigned int ny) |
| ~CuboidStencil () |
void | addFlux (unsigned int meshIndex, vector< double > &f, const vector< vector< double > > &S, const vector< double > &diffConst) const |
Detailed Description
Assumes a 3-D cuboid array
Constructor & Destructor Documentation
CuboidStencil::CuboidStencil |
( |
double |
dx, |
|
|
double |
dy, |
|
|
double |
dz, |
|
|
unsigned int |
nx, |
|
|
unsigned int |
ny | |
|
) |
| | |
CuboidStencil::~CuboidStencil |
( |
|
) |
|
Member Function Documentation
void CuboidStencil::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: