Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
#include <ThirdOrderRungeKuttaMethod.hpp>
Public Types | |
using | Conservative = ::fub::Conservative< PerfectGas< Dim > > |
using | Complete = ::fub::Complete< PerfectGas< Dim > > |
using | ConservativeArray = ::fub::ConservativeArray< PerfectGas< Dim > > |
using | CompleteArray = ::fub::CompleteArray< PerfectGas< Dim > > |
Public Member Functions | |
ThirdOrderRungeKutta (const PerfectGas< Dim > &equation) | |
const PerfectGas< Dim > & | GetEquation () const noexcept |
void | ComputeNumericFlux (Conservative &flux, span< const Complete, 12 > stencil, Duration dt, double dx, Direction dir) |
void | ComputeNumericFlux (ConservativeArray &flux, Array1d face_fractions, span< const CompleteArray, 12 > stencil, span< const Array1d, 12 > volume_fractions, Duration dt, double dx, Direction dir) |
void | ComputeNumericFlux (ConservativeArray &flux, span< const CompleteArray, 12 > stencil, Duration dt, double dx, Direction dir) |
double | ComputeStableDt (span< const Complete, 12 > states, double dx, Direction dir) |
Array1d | ComputeStableDt (span< const CompleteArray, 12 > states, double dx, Direction dir) |
Array1d | ComputeStableDt (span< const CompleteArray, 12 > states, Array1d face_fraction, span< const Array1d, 2 >, double dx, Direction dir) |
Static Public Member Functions | |
static constexpr int | GetStencilWidth () noexcept |
Public Attributes | |
PerfectGas< Dim > | equation_ |
double | k_0 |
double | eta_0 |
using fub::perfect_gas::ThirdOrderRungeKutta< Dim >::Complete = ::fub::Complete<PerfectGas<Dim> > |
using fub::perfect_gas::ThirdOrderRungeKutta< Dim >::CompleteArray = ::fub::CompleteArray<PerfectGas<Dim> > |
using fub::perfect_gas::ThirdOrderRungeKutta< Dim >::Conservative = ::fub::Conservative<PerfectGas<Dim> > |
using fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ConservativeArray = ::fub::ConservativeArray<PerfectGas<Dim> > |
|
inline |
void fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ComputeNumericFlux | ( | Conservative & | flux, |
span< const Complete, 12 > | stencil, | ||
Duration | dt, | ||
double | dx, | ||
Direction | dir | ||
) |
void fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ComputeNumericFlux | ( | ConservativeArray & | flux, |
Array1d | face_fractions, | ||
span< const CompleteArray, 12 > | stencil, | ||
span< const Array1d, 12 > | volume_fractions, | ||
Duration | dt, | ||
double | dx, | ||
Direction | dir | ||
) |
void fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ComputeNumericFlux | ( | ConservativeArray & | flux, |
span< const CompleteArray, 12 > | stencil, | ||
Duration | dt, | ||
double | dx, | ||
Direction | dir | ||
) |
double fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ComputeStableDt | ( | span< const Complete, 12 > | states, |
double | dx, | ||
Direction | dir | ||
) |
Array1d fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ComputeStableDt | ( | span< const CompleteArray, 12 > | states, |
Array1d | face_fraction, | ||
span< const Array1d, 2 > | , | ||
double | dx, | ||
Direction | dir | ||
) |
Array1d fub::perfect_gas::ThirdOrderRungeKutta< Dim >::ComputeStableDt | ( | span< const CompleteArray, 12 > | states, |
double | dx, | ||
Direction | dir | ||
) |
|
inlinenoexcept |
|
inlinestaticconstexprnoexcept |
PerfectGas<Dim> fub::perfect_gas::ThirdOrderRungeKutta< Dim >::equation_ |
double fub::perfect_gas::ThirdOrderRungeKutta< Dim >::eta_0 |
double fub::perfect_gas::ThirdOrderRungeKutta< Dim >::k_0 |