Point motion based on Paul Duffell's scheme. More...
#include <duffell.hpp>
Public Member Functions | |
Duffell (const double alpha, const int iter) | |
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... | |
![]() | |
virtual 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 based on Paul Duffell's scheme.
Definition at line 8 of file duffell.hpp.
Duffell::Duffell | ( | const double | alpha, |
const int | iter | ||
) |
Class constructor.
alpha | Weight for average |
iter | Number of iterations |
Definition at line 5 of file duffell.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 60 of file duffell.cpp.