Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Classes | Namespaces | Typedefs | Functions
IdealGasMix.hpp File Reference
#include "fub/equations/ideal_gas_mix/FlameMasterReactor.hpp"
#include "fub/CompleteFromCons.hpp"
#include "fub/Equation.hpp"
#include "fub/State.hpp"
#include "fub/ext/Eigen.hpp"
#include <array>

Go to the source code of this file.

Classes

struct  fub::IdealGasMixConservative< Density, Momentum, Energy, Species >
 This is a template class for constructing conservative states for the perfect gas equations. More...
 
struct  fub::StateTraits< IdealGasMixConservative< Xs... > >
 
struct  fub::IdealGasMixComplete< Density, Momentum, Energy, Species, Pressure, SpeedOfSound, Temperature, HeatCapacityAtConstantPressure, HeatCapacityRatio >
 
struct  fub::StateTraits< IdealGasMixComplete< Xs... > >
 
class  fub::IdealGasMix< N >
 

Namespaces

 fub
 The fub namespace.
 

Typedefs

template<int Rank>
using fub::IdealGasConservativeShape = IdealGasMixConservative< ScalarDepth, VectorDepth< Rank >, ScalarDepth, VectorDepth<-1 > >
 
template<int Rank>
using fub::IdealGasMixCompleteShape = IdealGasMixComplete< ScalarDepth, VectorDepth< Rank >, ScalarDepth, VectorDepth<-1 >, ScalarDepth, ScalarDepth, ScalarDepth, ScalarDepth, ScalarDepth >
 

Functions

template<int Dim>
double fub::KineticEnergy (double density, const Eigen::Array< double, Dim, 1 > &momentum) noexcept
 
template<int Dim>
Array1d fub::KineticEnergy (Array1d density, const Eigen::Array< double, Dim, kDefaultChunkSize, Eigen::RowMajor > &momentum) noexcept
 
template<int Dim>
Array1d fub::KineticEnergy (Array1d density, const Eigen::Array< double, Dim, kDefaultChunkSize, Eigen::RowMajor > &momentum, MaskArray mask) noexcept
 
void fub::Reflect (Complete< IdealGasMix< 1 >> &reflected, const Complete< IdealGasMix< 1 >> &state, const Eigen::Matrix< double, 1, 1 > &normal, const IdealGasMix< 1 > &gas)
 
void fub::Reflect (Complete< IdealGasMix< 2 >> &reflected, const Complete< IdealGasMix< 2 >> &state, const Eigen::Vector2d &normal, const IdealGasMix< 2 > &gas)
 
void fub::Reflect (Complete< IdealGasMix< 3 >> &reflected, const Complete< IdealGasMix< 3 >> &state, const Eigen::Vector3d &normal, const IdealGasMix< 3 > &gas)
 
void fub::Rotate (Conservative< IdealGasMix< 2 >> &rotated, const Conservative< IdealGasMix< 2 >> &state, const Eigen::Matrix< double, 2, 2 > &rotation, const IdealGasMix< 2 > &)
 Defines how to rotate a given state of the euler equations. More...
 
void fub::Rotate (Complete< IdealGasMix< 2 >> &rotated, const Complete< IdealGasMix< 2 >> &state, const Eigen::Matrix< double, 2, 2 > &rotation, const IdealGasMix< 2 > &)
 Defines how to rotate a given state of the euler equations. More...
 
void fub::Rotate (Conservative< IdealGasMix< 3 >> &rotated, const Conservative< IdealGasMix< 3 >> &state, const Eigen::Matrix< double, 3, 3 > &rotation, const IdealGasMix< 3 > &)
 Defines how to rotate a given state of the euler equations. More...
 
void fub::Rotate (Complete< IdealGasMix< 3 >> &rotated, const Complete< IdealGasMix< 3 >> &state, const Eigen::Matrix< double, 3, 3 > &rotation, const IdealGasMix< 3 > &)
 Defines how to rotate a given state of the euler equations. More...