Point motion that minimises advection. More...
#include <Lmotion.hpp>
Public Member Functions | |
LMotion (SpatialReconstruction const &interp, EquationOfState const &eos) | |
Class constructor. More... | |
vector< Vector2D > | operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const |
Calculates the velocity of all mesh points. More... | |
vector< Vector2D > | ApplyFix (Tessellation const &tess, vector< ComputationalCell > const &cells, double time, double dt, vector< Vector2D > const &velocities, TracerStickerNames const &tracerstickernames) const |
Applies a small fix to the velocity of all mesh points once the time step is known. More... | |
![]() | |
virtual | ~PointMotion (void) |
Virtual destructor. | |
Point motion that minimises advection.
Definition at line 10 of file Lmotion.hpp.
LMotion::LMotion | ( | SpatialReconstruction const & | interp, |
EquationOfState const & | eos | ||
) |
Class constructor.
interp | Interpolation scheme |
eos | Equation of state |
Definition at line 29 of file Lmotion.cpp.
|
virtual |
Applies a small fix to the velocity of all mesh points once the time step is known.
tess | The tessellation |
cells | Hydrodynamics cells |
time | The simulation time |
velocities | Velocities of the points |
dt | The time step |
tracerstickernames | The names of the tracers and stickers |
Reimplemented from PointMotion.
Definition at line 41 of file Lmotion.cpp.
|
virtual |
Calculates the velocity of all mesh points.
tess | The tessellation |
cells | Hydrodynamics cells |
time | The simulation time |
tracerstickernames | The names of the tracers and stickers |
Implements PointMotion.
Definition at line 31 of file Lmotion.cpp.