Public Member Functions | List of all members
CourantFriedrichsLewy Class Reference

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

#include <CourantFriedrichsLewy.hpp>

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

Public Member Functions

 CourantFriedrichsLewy (double cfl)
 Class constructor. More...
 
double operator() (const Tessellation3D &tess, const vector< ComputationalCell > &cells, const EquationOfState &eos) const
 Calculates the time step. More...
 
- Public Member Functions inherited from TimeStepCalculator
virtual ~TimeStepCalculator (void)
 Class destructor.
 
- Public Member Functions inherited from LazyList< double >
virtual size_t size (void) const=0
 Returns the length of the list. More...
 
virtual double operator[] (const size_t i) const=0
 Returns a single member of the list. More...
 
double at (const size_t i) const
 bound checked access function More...
 

Detailed Description

Calculates the time step according to the CFL criterion.

Definition at line 12 of file CourantFriedrichsLewy.hpp.

Constructor & Destructor Documentation

◆ CourantFriedrichsLewy()

CourantFriedrichsLewy::CourantFriedrichsLewy ( double  cfl)
explicit

Class constructor.

Parameters
cflCFL number

Definition at line 5 of file CourantFriedrichsLewy.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

double CourantFriedrichsLewy::operator() ( const Tessellation3D tess,
const vector< ComputationalCell > &  cells,
const EquationOfState eos 
) const
virtual

Calculates the time step.

Parameters
tessTessellation
cellsComputational cells
eosEquation of state
Returns
Time step

Implements TimeStepCalculator.

Definition at line 42 of file CourantFriedrichsLewy.cpp.

Here is the call graph for this function:

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