Lagrangian point motion in 1d (points move together with the fluid) More...
#include <lagrangian1d.hpp>
Public Member Functions | |
Lagrangian1D (bool rigid_walls) | |
Class constructor. More... | |
double | operator() (size_t i, vector< double > const &vp, vector< ComputationalCell > const &hv) const |
Calculates the velocity of a vertex. More... | |
Lagrangian point motion in 1d (points move together with the fluid)
Definition at line 12 of file lagrangian1d.hpp.
|
explicit |
Class constructor.
rigid_walls | Toggles rigid walls at the edges |
Definition at line 3 of file lagrangian1d.cpp.
|
virtual |
Calculates the velocity of a vertex.
i | Vertex index |
vp | Pointer to vertices position container |
hv | Pointer to hydrodynamics variables container |
Implements VertexMotion.
Definition at line 7 of file lagrangian1d.cpp.