diff --git a/slides/properties.md b/slides/properties.md index adee689d456e946823b452ccc68517de23a493d6..54b0537979b6bcafba1c87499a13cda4613607ce 100644 --- a/slides/properties.md +++ b/slides/properties.md @@ -281,25 +281,6 @@ struct BaseTag ``` -## Configure a model at compile time - -- The DuMu<sup>x</sup> way $\leftrightarrow$ <span style="color:blue">Properties</span> - - A so-called <span style="color:blue">TypeTag</span> bundles all necessary information $\leftrightarrow$ only ONE template parameter - - <span style="color:blue">Properties</span> (data types and values) can be retrieved via the property system. - -```cpp -template <class TypeTag> -class InjectionProblemTwoP -{ - using VolumeVariables = GetPropType< - TypeTag, Properties::VolumeVariables - >; - constexpr auto useIFS = getPropValue< - TypeTag, Properties::EnableBoxInterfaceSolver - >(); -}; -``` - ## The DuMu<sup>x</sup> property system - Extension $\leftrightarrow$ tree of so called TypeTag nodes @@ -412,6 +393,10 @@ template <class TypeTag> class Problem { using Scalar = GetPropType<TypeTag, Properties::Scalar>; + + constexpr auto useIFS = getPropValue< + TypeTag, Properties::EnableBoxInterfaceSolver + >(); }; } // end namespace Dumux