Lmotion.hpp
1 #ifndef LMOTION_HPP
2 #define LMOTION_HPP 1
3 #include "../point_motion.hpp"
4 #include "../interpolations/LinearGaussImproved.hpp"
5 #include "../../common/equation_of_state.hpp"
6 #include "../edge_velocity_calculator.hpp"
7 
10 class LMotion : public PointMotion
11 {
12 private:
13  SpatialReconstruction const& interp_;
14  EquationOfState const& eos_;
15  // EdgeVelocityCalculator const& evc_;
16 
17 public:
22  LMotion(SpatialReconstruction const& interp, EquationOfState const& eos /*,EdgeVelocityCalculator const& evc*/);
23 
24  vector<Vector2D> operator()(const Tessellation& tess, const vector<ComputationalCell>& cells,
25  double time, TracerStickerNames const& tracerstickernames) const;
26 
27  vector<Vector2D> ApplyFix(Tessellation const& tess, vector<ComputationalCell> const& cells, double time,
28  double dt, vector<Vector2D> const& velocities, TracerStickerNames const& tracerstickernames)const;
29 };
30 #endif //LMOTION_HPP
vector< Vector2D > operator()(const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const
Calculates the velocity of all mesh points.
Definition: Lmotion.cpp:31
Spatial reconstruction of the primitive functions.
Abstract class for tessellation.
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.
Definition: Lmotion.cpp:41
Abstract class for motion of mesh generating points.
LMotion(SpatialReconstruction const &interp, EquationOfState const &eos)
Class constructor.
Definition: Lmotion.cpp:29
Base class for equation of state.
Point motion that minimises advection.
Definition: Lmotion.hpp:10
Class for keeping the names of the tracers and stickers.