From f5af37463af27d09b000c51a5a4e911485916b96 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Wed, 1 Apr 2020 17:36:49 +0200 Subject: [PATCH] [examples][2p] Add an additional info box --- examples/2pinfiltration/README.md | 7 ++++++- examples/2pinfiltration/properties.hh | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/examples/2pinfiltration/README.md b/examples/2pinfiltration/README.md index 96bbfb100e..ebf00a2315 100644 --- a/examples/2pinfiltration/README.md +++ b/examples/2pinfiltration/README.md @@ -478,7 +478,12 @@ namespace Dumux::Properties { ``` First, a so-called TypeTag is created. Properties are traits specialized for this TypeTag (a simple `struct`). -The properties of two other TypeTags are inherited by adding the alias `InheritsFrom`. + +>>> +:white_check_mark: The properties of other TypeTags are inherited if the alias `InheritsFrom` is present. +These other TypeTags are listed in form of a `std::tuple` in order of importance. +>>> + Here, properties from the two-phase flow model (`TTag::Twop`) and the cell-centered finite volume scheme with two-point-flux approximation (`TTag::CCTpfaModel`) are inherited. These other TypeTag definitions can be found in the included diff --git a/examples/2pinfiltration/properties.hh b/examples/2pinfiltration/properties.hh index f410521b3c..f73a61ccc1 100644 --- a/examples/2pinfiltration/properties.hh +++ b/examples/2pinfiltration/properties.hh @@ -46,7 +46,12 @@ namespace Dumux::Properties { // First, a so-called TypeTag is created. Properties are traits specialized for this TypeTag (a simple `struct`). -// The properties of two other TypeTags are inherited by adding the alias `InheritsFrom`. +// +// >>> +// :white_check_mark: The properties of other TypeTags are inherited if the alias `InheritsFrom` is present. +// These other TypeTags are listed in form of a `std::tuple` in order of importance. +// >>> +// // Here, properties from the two-phase flow model (`TTag::Twop`) and the // cell-centered finite volume scheme with two-point-flux approximation (`TTag::CCTpfaModel`) // are inherited. These other TypeTag definitions can be found in the included -- GitLab