MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <Stencil.h>
Public Member Functions | |
void | addFlux (unsigned int meshIndex, vector< double > &f, const vector< vector< double > > &S, const vector< double > &diffConst) const |
LineStencil (double h) | |
~LineStencil () | |
Public Member Functions inherited from Stencil | |
Stencil () | |
virtual | ~Stencil () |
Private Attributes | |
double | h_ |
double | invHsq_ |
Assumes a one-D uniform cartesian array, so the index offset for neighboring mesh points is always 1.
LineStencil::LineStencil | ( | double | h | ) |
Definition at line 109 of file Stencil.cpp.
LineStencil::~LineStencil | ( | ) |
Definition at line 121 of file Stencil.cpp.
|
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.
Definition at line 124 of file Stencil.cpp.
References invHsq_, and stencil1().
|
private |
Definition at line 59 of file Stencil.h.
Referenced by LineStencil().
|
private |
Definition at line 60 of file Stencil.h.
Referenced by addFlux(), and LineStencil().