Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Types | Public Member Functions | List of all members
fub::EinfeldtSignalVelocities< Equation > Struct Template Reference

This is a customization point for equations which can define two signal velocities for usage with the HllMethod. More...

#include <EinfeldtSignalVelocities.hpp>

Public Types

using Complete = ::fub::Complete< Equation >
 
using CompleteArray = ::fub::CompleteArray< Equation >
 

Public Member Functions

std::array< double, 2 > operator() (const Equation &equation, const Complete &left, const Complete &right, Direction dir) const noexcept
 
std::array< Array1d, 2 > operator() (const Equation &equation, const CompleteArray &left, const CompleteArray &right, Direction dir) const noexcept
 
std::array< Array1d, 2 > operator() (const Equation &equation, const CompleteArray &left, const CompleteArray &right, const MaskArray &mask, Direction dir) const noexcept
 

Detailed Description

template<typename Equation>
struct fub::EinfeldtSignalVelocities< Equation >

This is a customization point for equations which can define two signal velocities for usage with the HllMethod.

Semantically the velocities should be formed by the roe averaves of two states.

Member Typedef Documentation

◆ Complete

template<typename Equation >
using fub::EinfeldtSignalVelocities< Equation >::Complete = ::fub::Complete<Equation>

◆ CompleteArray

template<typename Equation >
using fub::EinfeldtSignalVelocities< Equation >::CompleteArray = ::fub::CompleteArray<Equation>

Member Function Documentation

◆ operator()() [1/3]

template<typename Equation >
std::array<double, 2> fub::EinfeldtSignalVelocities< Equation >::operator() ( const Equation &  equation,
const Complete left,
const Complete right,
Direction  dir 
) const
noexcept

◆ operator()() [2/3]

template<typename Equation >
std::array<Array1d, 2> fub::EinfeldtSignalVelocities< Equation >::operator() ( const Equation &  equation,
const CompleteArray left,
const CompleteArray right,
const MaskArray mask,
Direction  dir 
) const
noexcept

◆ operator()() [3/3]

template<typename Equation >
std::array<Array1d, 2> fub::EinfeldtSignalVelocities< Equation >::operator() ( const Equation &  equation,
const CompleteArray left,
const CompleteArray right,
Direction  dir 
) const
noexcept

The documentation for this struct was generated from the following file: