Skip to content
Snippets Groups Projects
Commit 47a70de0 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'cleanup/remove-obsolete-property-slide' into 'master'

[slides][props] remove slide with duplicate content

See merge request !174
parents 5de46541 8f645e53
No related branches found
No related tags found
1 merge request!174[slides][props] remove slide with duplicate content
Pipeline #30472 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment