Public Member Functions | List of all members
PointMotion Class Referenceabstract

Abstract class for motion of mesh generating points. More...

#include <point_motion.hpp>

Inheritance diagram for PointMotion:
Inheritance graph
[legend]

Public Member Functions

virtual vector< Vector2Doperator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const =0
 Calculates the velocity of all mesh points. More...
 
virtual vector< Vector2DApplyFix (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. More...
 
virtual ~PointMotion (void)
 Virtual destructor.
 

Detailed Description

Abstract class for motion of mesh generating points.

Definition at line 15 of file point_motion.hpp.

Member Function Documentation

◆ ApplyFix()

vector< Vector2D > PointMotion::ApplyFix ( Tessellation const &  tess,
vector< ComputationalCell > const &  cells,
double  time,
double  dt,
vector< Vector2D > const &  velocities,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Applies a small fix to the velocity of all mesh points once the time step is known.

Parameters
tessThe tessellation
cellsHydrodynamics cells
timeThe simulation time
velocitiesVelocities of the points
dtThe time step
tracerstickernamesThe names of the tracers and stickers
Returns
The new velocities

Reimplemented in CustomMotion, RoundCells, CentroidMotion, and LMotion.

Definition at line 5 of file point_motion.cpp.

Here is the caller graph for this function:

◆ operator()()

virtual vector<Vector2D> PointMotion::operator() ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
double  time,
TracerStickerNames const &  tracerstickernames 
) const
pure virtual

Calculates the velocity of all mesh points.

Parameters
tessThe tessellation
cellsHydrodynamics cells
timeThe simulation time
tracerstickernamesThe names of the tracers and stickers
Returns
Velocities of the points

Implemented in CustomMotion, RoundCells, CentroidMotion, LMotion, Duffell, Eulerian, and Lagrangian.


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