version 3.8
Dumux::ComponentTraits< Component > Struct Template Reference

Component traits, i.e. information extracted from components.

#include <dumux/material/components/componenttraits.hh>

Public Types

using Scalar = typename Component::Scalar
 

Static Public Attributes

static constexpr bool hasSolidState = std::is_base_of<Components::Solid<Scalar, Component>, Component>::value
 if the component implements a solid state More...
 
static constexpr bool hasLiquidState = std::is_base_of<Components::Liquid<Scalar, Component>, Component>::value
 if the component implements a liquid state More...
 
static constexpr bool hasGasState = std::is_base_of<Components::Gas<Scalar, Component>, Component>::value
 if the component implements a gaseous state More...
 
static constexpr bool isIon = std::is_base_of<Components::Ion<Scalar, Component>, Component>::value
 if the component implements an ion More...
 

Member Typedef Documentation

◆ Scalar

template<class Component >
using Dumux::ComponentTraits< Component >::Scalar = typename Component::Scalar

Member Data Documentation

◆ hasGasState

template<class Component >
constexpr bool Dumux::ComponentTraits< Component >::hasGasState = std::is_base_of<Components::Gas<Scalar, Component>, Component>::value
staticconstexpr

◆ hasLiquidState

template<class Component >
constexpr bool Dumux::ComponentTraits< Component >::hasLiquidState = std::is_base_of<Components::Liquid<Scalar, Component>, Component>::value
staticconstexpr

◆ hasSolidState

template<class Component >
constexpr bool Dumux::ComponentTraits< Component >::hasSolidState = std::is_base_of<Components::Solid<Scalar, Component>, Component>::value
staticconstexpr

◆ isIon

template<class Component >
constexpr bool Dumux::ComponentTraits< Component >::isIon = std::is_base_of<Components::Ion<Scalar, Component>, Component>::value
staticconstexpr

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