4 rigid_walls_(rigid_walls) {}
6 double Lagrangian1D::operator()
7 (
size_t i, vector<double>
const& ,
8 vector<ComputationalCell>
const& hv)
const 14 return hv[0].velocity.x;
16 else if(i==hv.size()){
20 return hv[hv.size()-1].velocity.x;
23 return 0.5*(hv[size_t(i)-1].velocity.x+
24 hv[size_t(i)].velocity.x);
Lagrangian1D(bool rigid_walls)
Class constructor.
A velocity scheme where the velocities of all vertices are determined by the velocities of adjacents ...