Simple flux calculator. More...
Go to the source code of this file.
Classes | |
class | SimpleFluxCalculator |
Simple flux calculator. More... | |
Functions | |
Primitive | convert_to_primitive (const ComputationalCell &cell, const EquationOfState &eos, TracerStickerNames const &tracerstickernames) |
Converts computational cell to primitive variables. More... | |
Primitive | reflect (const Primitive &p, const Vector2D &axis) |
Reflects velocity about axis. More... | |
Vector2D | remove_parallel_component (const Vector2D &v, const Vector2D &p) |
Remove parallel component of a vector. More... | |
Conserved | rotate_solve_rotate_back (const RiemannSolver &rs, const Primitive &left, const Primitive &right, const double velocity, const Vector2D &n, const Vector2D &p) |
Rotates, solve riemann problem and rotates results back. More... | |
Simple flux calculator.
Definition in file simple_flux_calculator.hpp.
Primitive convert_to_primitive | ( | const ComputationalCell & | cell, |
const EquationOfState & | eos, | ||
TracerStickerNames const & | tracerstickernames | ||
) |
Converts computational cell to primitive variables.
cell | Computational cell |
eos | Equation of state |
tracerstickernames | The names of the tracers and stickers |
Definition at line 9 of file simple_flux_calculator.cpp.
Reflects velocity about axis.
p | Primitive variables |
axis | Reflection axis |
Definition at line 17 of file simple_flux_calculator.cpp.
Remove parallel component of a vector.
v | Vector |
p | Parallel direction |
Definition at line 27 of file simple_flux_calculator.cpp.
Conserved rotate_solve_rotate_back | ( | const RiemannSolver & | rs, |
const Primitive & | left, | ||
const Primitive & | right, | ||
const double | velocity, | ||
const Vector2D & | n, | ||
const Vector2D & | p | ||
) |
Rotates, solve riemann problem and rotates results back.
rs | Riemann solver |
left | Primitive variables on the left side |
right | Primitive variables on the right side |
velocity | Velocity of the interface |
n | Normal direction |
p | Parallel direction |
Definition at line 156 of file simple_flux_calculator.cpp.