Public Member Functions | List of all members
LMotion Class Reference

Point motion that minimises advection. More...

#include <Lmotion.hpp>

Inheritance diagram for LMotion:
Inheritance graph
[legend]
Collaboration diagram for LMotion:
Collaboration graph
[legend]

Public Member Functions

 LMotion (SpatialReconstruction const &interp, EquationOfState const &eos)
 Class constructor. More...
 
vector< Vector2Doperator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const
 Calculates the velocity of all mesh points. More...
 
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...
 
- Public Member Functions inherited from PointMotion
virtual ~PointMotion (void)
 Virtual destructor.
 

Detailed Description

Point motion that minimises advection.

Definition at line 10 of file Lmotion.hpp.

Constructor & Destructor Documentation

◆ LMotion()

LMotion::LMotion ( SpatialReconstruction const &  interp,
EquationOfState const &  eos 
)

Class constructor.

Parameters
interpInterpolation scheme
eosEquation of state

Definition at line 29 of file Lmotion.cpp.

Member Function Documentation

◆ ApplyFix()

vector< Vector2D > LMotion::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 from PointMotion.

Definition at line 41 of file Lmotion.cpp.

Here is the call graph for this function:

◆ operator()()

vector< Vector2D > LMotion::operator() ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
double  time,
TracerStickerNames const &  tracerstickernames 
) const
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

Implements PointMotion.

Definition at line 31 of file Lmotion.cpp.

Here is the call graph for this function:

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