Public Member Functions | List of all members
SimpleCFL Class Reference

Calculates time step according to CFL criterion. More...

#include <simple_cfl.hpp>

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

Public Member Functions

 SimpleCFL (const double cfl)
 Class constructor. More...
 
double operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, const EquationOfState &eos, const vector< Vector2D > &point_velocities, const double time, TracerStickerNames const &tracerstickernames) const
 Calculates the time step. More...
 
- Public Member Functions inherited from TimeStepFunction
virtual ~TimeStepFunction (void)
 Destructor.
 

Detailed Description

Calculates time step according to CFL criterion.

Definition at line 12 of file simple_cfl.hpp.

Constructor & Destructor Documentation

◆ SimpleCFL()

SimpleCFL::SimpleCFL ( const double  cfl)
explicit

Class constructor.

Parameters
cflCFL number

Definition at line 8 of file simple_cfl.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

double SimpleCFL::operator() ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
const EquationOfState eos,
const vector< Vector2D > &  point_velocities,
const double  time,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Calculates the time step.

Parameters
tessTessellation
cellsPrimitive variables
eosEquation of state
point_velocitiesVelocities of the mesh generating points
timeTime
tracerstickernamesThe names of the tracers and stickers
Returns
Time step

Implements TimeStepFunction.

Definition at line 61 of file simple_cfl.cpp.

Here is the call graph for this function:

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