|
ASL
0.1.7
Advanced Simulation Library
|
Numerical method which computes multicomponent transport processes; \(O^2(dt)\). More...
#include <aslFDAdvectionDiffusion2.h>


Public Types | |
| typedef SPDataWithGhostNodesACLData | Data |
| typedef SPAbstractDataWithGhostNodes | ScalarField |
Public Member Functions | |
| FDAdvectionDiffusion2 () | |
| FDAdvectionDiffusion2 (Data c, double dC, const VectorTemplate *vT) | |
| void | setDiffusionCoefficient (double d, unsigned int i=0) |
| double | getDiffusionCoefficient (unsigned int i=0) |
| void | setVectorTemplate (VectorTemplate *vT) |
| VectorTemplate | setVectorTemplate (const VectorTemplate *vT) |
| void | setElectricFieldParameters (ScalarField phi, ScalarField f1, ScalarField f2, ScalarField qAnd) |
| virtual void | init () |
| Builds the necesery internal data and kernels. More... | |
| virtual void | execute () |
| Executes the numerical procedure. More... | |
| void | addComponent (Data c, double dC) |
| void | addComponent (Data c, double dC, ScalarField qAnd) |
Public Member Functions inherited from asl::NumMethod | |
| virtual | ~NumMethod () |
Numerical method which computes multicomponent transport processes; \(O^2(dt)\).
\[ \partial_t c_i= D_i \Delta c_i -\nabla\left(\frac{c_i q}{k} \nabla(\phi+f_2) \right)\]
where
| cData | corresponds to \(c_i\) |
| diffusionCoefficient | corresponds to \(D_i\) |
| efFactor1 | corresponds to \(k\) |
| efFactor2 | corresponds to \(f_2\) |
| efPhi | corresponds to \(\phi\) |
| efChargeAnd | corresponds to \(q\) |
Definition at line 59 of file aslFDAdvectionDiffusion2.h.
Definition at line 62 of file aslFDAdvectionDiffusion2.h.
Definition at line 63 of file aslFDAdvectionDiffusion2.h.
| asl::FDAdvectionDiffusion2::FDAdvectionDiffusion2 | ( | ) |
| asl::FDAdvectionDiffusion2::FDAdvectionDiffusion2 | ( | Data | c, |
| double | dC, | ||
| const VectorTemplate * | vT | ||
| ) |
| void asl::FDAdvectionDiffusion2::addComponent | ( | Data | c, |
| double | dC | ||
| ) |
| void asl::FDAdvectionDiffusion2::addComponent | ( | Data | c, |
| double | dC, | ||
| ScalarField | qAnd | ||
| ) |
|
virtual |
Executes the numerical procedure.
Implements asl::NumMethod.
| double asl::FDAdvectionDiffusion2::getDiffusionCoefficient | ( | unsigned int | i = 0 | ) |
|
virtual |
Builds the necesery internal data and kernels.
Implements asl::NumMethod.
| void asl::FDAdvectionDiffusion2::setDiffusionCoefficient | ( | double | d, |
| unsigned int | i = 0 |
||
| ) |
| void asl::FDAdvectionDiffusion2::setElectricFieldParameters | ( | ScalarField | phi, |
| ScalarField | f1, | ||
| ScalarField | f2, | ||
| ScalarField | qAnd | ||
| ) |
| void asl::FDAdvectionDiffusion2::setVectorTemplate | ( | VectorTemplate * | vT | ) |
| VectorTemplate asl::FDAdvectionDiffusion2::setVectorTemplate | ( | const VectorTemplate * | vT | ) |
1.8.5