3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Attributes | List of all members
Dumux::ComponentTraits< Component > Struct Template Reference

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

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

Description

template<class Component>
struct Dumux::ComponentTraits< Component >

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

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

if the component implements a gaseous state

◆ hasLiquidState

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

if the component implements a liquid state

◆ hasSolidState

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

if the component implements a solid state

◆ isIon

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

if the component implements an ion


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