Abstract class for custom motion of mesh generating points. More...
#include <CustomMotion.hpp>
Public Member Functions | |
CustomMotion (PointMotion const &otherpm, CustomMotionCriteria const &criteria) | |
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. | |
Abstract class for custom motion of mesh generating points.
Definition at line 47 of file CustomMotion.hpp.
CustomMotion::CustomMotion | ( | PointMotion const & | otherpm, |
CustomMotionCriteria const & | criteria | ||
) |
Class constructor.
otherpm | Another point motion scheme |
criteria | Criterion for when to use other scheme |
Definition at line 5 of file CustomMotion.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 14 of file CustomMotion.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 8 of file CustomMotion.cpp.