|
ViennaLS
|
Abstract class defining the interface for the velocity field used during advection using lsAdvect. More...
#include <lsVelocityField.hpp>
Public Member Functions | |
| VelocityField ()=default | |
| virtual T | getScalarVelocity (const Vec3D< T > &, int, const Vec3D< T > &, unsigned long) |
| Should return a scalar value for the velocity at coordinate for a point of material with the given normalVector. | |
| virtual Vec3D< T > | getVectorVelocity (const Vec3D< T > &, int, const Vec3D< T > &, unsigned long) |
| Like getScalarVelocity, but returns a velocity value for each cartesian direction. | |
| virtual T | getDissipationAlpha (int, int, const Vec3D< T > &) |
| If lsLocalLaxFriedrichsAnalytical is used as the spatial discretization scheme, this is called to provide the analytical solution for the alpha values, needed for numerical stability. | |
| virtual | ~VelocityField ()=default |
Abstract class defining the interface for the velocity field used during advection using lsAdvect.
|
default |
|
virtualdefault |
|
inlinevirtual |
If lsLocalLaxFriedrichsAnalytical is used as the spatial discretization scheme, this is called to provide the analytical solution for the alpha values, needed for numerical stability.
Reimplemented in viennals::OxidationConstrainedAmbient< T, D >, viennals::OxidationDeformation< T, D >, viennals::OxidationDiffusion< T, D >, and viennals::OxidationMaskBending< T, D >.
|
inlinevirtual |
Should return a scalar value for the velocity at coordinate for a point of material with the given normalVector.
Reimplemented in viennals::OxidationConstrainedAmbient< T, D >, viennals::OxidationDeformation< T, D >, and viennals::OxidationDiffusion< T, D >.
|
inlinevirtual |
Like getScalarVelocity, but returns a velocity value for each cartesian direction.
Reimplemented in viennals::OxidationConstrainedAmbient< T, D >, viennals::OxidationDeformation< T, D >, and viennals::OxidationMaskBending< T, D >.