DerivedPartialValueMixin< n_species, ValueType, Derived > Struct Template Reference

Developer Documentation: MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived > Struct Template Reference
Developer Documentation
MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived > Struct Template Reference

#include <state_views_mixins.hpp>

Public Types

using value_type = std::conditional_t< std::is_const_v< std::remove_reference_t< ValueType > >, std::add_const_t< typename ValueType::value_type >, typename ValueType::value_type >
 

Public Member Functions

ValueType::value_type partial_pressure (const unsigned species_component) const
 
ValueType::value_type partial_inner_energy (const unsigned species_component) const
 

Private Member Functions

ValueType & value () const
 
const Derived & derived () const
 

Member Typedef Documentation

◆ value_type

template<int n_species, typename ValueType , typename Derived >
using MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived >::value_type = std::conditional_t<std::is_const_v<std::remove_reference_t<ValueType> >, std::add_const_t<typename ValueType::value_type>, typename ValueType::value_type>

Member Function Documentation

◆ derived()

template<int n_species, typename ValueType , typename Derived >
const Derived & MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived >::derived ( ) const
inlineprivate

◆ partial_inner_energy()

template<int n_species, typename ValueType , typename Derived >
ValueType::value_type MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived >::partial_inner_energy ( const unsigned  species_component) const
inline

Partial inner energy of a species component computed as the product of the specific inner energy and the mass fraction of the species component.

Parameters
species_componentThe index of the species component for which the partial inner energy is computed.

◆ partial_pressure()

template<int n_species, typename ValueType , typename Derived >
ValueType::value_type MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived >::partial_pressure ( const unsigned  species_component) const
inline

Partial pressure of a species component computed by Dalton's law of partial pressures.

Parameters
species_componentThe index of the species component for which the partial pressure is computed.

◆ value()

template<int n_species, typename ValueType , typename Derived >
ValueType & MeltPoolDG::SpeciesTransport::DerivedPartialValueMixin< n_species, ValueType, Derived >::value ( ) const
inlineprivate

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