3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
propertysystem.hh File Reference

The Dumux property system, traits with inheritance. More...

#include <tuple>
#include <type_traits>

Go to the source code of this file.

Description

The Dumux property system, traits with inheritance.

Author
Timo Koch

Classes

struct  Dumux::Properties::UndefinedProperty
 a tag to mark properties as undefined More...

Namespaces

namespace  Dumux
 Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
namespace  Dumux::Properties

Typedefs

template<class TypeTag, template< class, class > class Property>
using Dumux::GetProp = typename Properties::Detail::GetPropImpl<TypeTag, Property>::type
 get the type of a property
template<class TypeTag, template< class, class > class Property, class T>
using Dumux::GetPropOr = typename Properties::Detail::GetPropOrImpl<TypeTag, Property, T>::type
 get the type of a property or the type T if the property is undefined
template<class TypeTag, template< class, class > class Property>
using Dumux::GetPropType = typename GetProp<TypeTag, Property>::type
 get the type alias defined in the property
template<class TypeTag, template< class, class > class Property, class T>
using Dumux::GetPropTypeOr = typename GetPropOr<TypeTag, Property, T>::type
 get the type alias defined in the property or the type T if the property is undefined

Functions

template<class TypeTag, template< class, class > class Property>
constexpr bool Dumux::Properties::hasDefinedType ()
 whether the property is defined/specialized for TypeTag
template<class TypeTag, template< class, class > class Property>
constexpr auto Dumux::getPropValue ()
 get the value data member of a property