lagrangian1d.hpp
Go to the documentation of this file.
1 
6 #ifndef LAGRANGIAN1D_HPP
7 #define LAGRANGIAN1D_HPP 1
8 
9 #include "vertex_motion.hpp"
10 
13 {
14 public:
15 
19  explicit Lagrangian1D(bool rigid_walls);
20 
21  double operator()(size_t i, vector<double> const& vp,
22  vector<ComputationalCell> const& hv) const;
23 
24 private:
25 
26  bool rigid_walls_;
27 };
28 
29 #endif // LAGRANGIAN1D_HPP
Lagrangian1D(bool rigid_walls)
Class constructor.
Definition: lagrangian1d.cpp:3
Arbitrary motion of the vertices.
double operator()(size_t i, vector< double > const &vp, vector< ComputationalCell > const &hv) const
Calculates the velocity of a vertex.
Definition: lagrangian1d.cpp:7
Base class for vertex motion.
Lagrangian point motion in 1d (points move together with the fluid)