EOSValueMixin< dim, ValueType, Derived > Struct Template Reference

Developer Documentation: MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived > Struct Template Reference
Developer Documentation
MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived > Struct Template Reference

#include <equation_of_state.hpp>

Public Member Functions

decltype(auto) pressure () const
 
decltype(auto) temperature () const
 
decltype(auto) speed_of_sound () const
 
decltype(auto) inner_energy_from_pressure (const ValueType &pressure) const
 
decltype(auto) specific_inner_energy () const
 

Private Member Functions

decltype(auto) eos_type () const
 
const Derived & derived () const
 

Detailed Description

template<int dim, ArithmeticType ValueType, typename Derived>
struct MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >

CRTP mixin providing thermodynamic state evaluation via the above defined equation of state.

Template Parameters
DerivedThe derived class is expected to provide an eos_type() method returning the type of the equation of state to be used, as well as the necessary data accessors required by the EOS implementations. For details on the required data accessors, please refer to the individual EOS implementation.

Member Function Documentation

◆ derived()

template<int dim, ArithmeticType ValueType, typename Derived >
const Derived & MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::derived ( ) const
inlineprivate

◆ eos_type()

template<int dim, ArithmeticType ValueType, typename Derived >
decltype(auto) MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::eos_type ( ) const
inlineprivate

◆ inner_energy_from_pressure()

template<int dim, ArithmeticType ValueType, typename Derived >
decltype(auto) MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::inner_energy_from_pressure ( const ValueType &  pressure) const
inline

◆ pressure()

template<int dim, ArithmeticType ValueType, typename Derived >
decltype(auto) MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::pressure ( ) const
inline

◆ specific_inner_energy()

template<int dim, ArithmeticType ValueType, typename Derived >
decltype(auto) MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::specific_inner_energy ( ) const
inline

◆ speed_of_sound()

template<int dim, ArithmeticType ValueType, typename Derived >
decltype(auto) MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::speed_of_sound ( ) const
inline

◆ temperature()

template<int dim, ArithmeticType ValueType, typename Derived >
decltype(auto) MeltPoolDG::Flow::EOSValueMixin< dim, ValueType, Derived >::temperature ( ) const
inline

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