Public Member Functions | List of all members
VertexMotion Class Referenceabstract

Base class for vertex motion. More...

#include <vertex_motion.hpp>

Inheritance diagram for VertexMotion:
Inheritance graph
[legend]

Public Member Functions

virtual double operator() (size_t i, vector< double > const &vp, vector< ComputationalCell > const &hv) const =0
 Calculates the velocity of a vertex. More...
 

Detailed Description

Base class for vertex motion.

Definition at line 16 of file vertex_motion.hpp.

Member Function Documentation

◆ operator()()

virtual double VertexMotion::operator() ( size_t  i,
vector< double > const &  vp,
vector< ComputationalCell > const &  hv 
) const
pure virtual

Calculates the velocity of a vertex.

Parameters
iVertex index
vpPointer to vertices position container
hvPointer to hydrodynamics variables container
Returns
Velocity of the vertex

Implemented in Lagrangian1D, and Eulerian1D.


The documentation for this class was generated from the following files: