Public Member Functions | List of all members
Duffell Class Reference

Point motion based on Paul Duffell's scheme. More...

#include <duffell.hpp>

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

Public Member Functions

 Duffell (const double alpha, const int iter)
 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...
 
- Public Member Functions inherited from PointMotion
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

Point motion based on Paul Duffell's scheme.

Todo:
Add reference to paper

Definition at line 8 of file duffell.hpp.

Constructor & Destructor Documentation

◆ Duffell()

Duffell::Duffell ( const double  alpha,
const int  iter 
)

Class constructor.

Parameters
alphaWeight for average
iterNumber of iterations

Definition at line 5 of file duffell.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

vector< Vector2D > Duffell::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 60 of file duffell.cpp.

Here is the call graph for this function:

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