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

Merge branch 'feature/ex-properties' into 'master'

[ex][properties] Minor changes

See merge request !191
parents 84b4bc36 f2d81a6e
No related branches found
No related tags found
1 merge request!191[ex][properties] Minor changes
Pipeline #30546 passed
......@@ -32,7 +32,7 @@ Locate all the files you will need for this exercise
* Change to the build-directory
```bash
cd ../build-cmake/exercises/exercise_properties
cd ../../build-cmake/exercises/exercise-properties
```
* Compile the executable `exercise_properties`
......@@ -55,7 +55,7 @@ Note: Because the input file has the same name as the executable, DuMu<sup>x</su
Types that are properties can be changed on the problem level by using the property system. In the following task, we implement our own 2p local residual, i.e. the class that computes the element residual in every Newton iteration. The file `mylocalresidual.hh` contains a copy of the original local residual class used for all immiscible models renamed to `template<class TypeTag> class MyLocalResidual`.
* Make DuMu<sup>x</sup> use this new local residual by including the header `mylocalresidual.hh` and setting the corresponding property in the `Property` namespace in the file `properties.hh`
* Make DuMu<sup>x</sup> use this new local residual by including the header `mylocalresidual.hh` and setting the corresponding property in the `Properties` namespace in the file `properties.hh`
```c++
......
......@@ -23,8 +23,6 @@
*/
#include <config.h>
#include <config.h>
#include <iostream>
#include <dumux/common/initialize.hh>
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
*****************************************************************************/
/*!
* \ingroup TwoPTests
* \ingroup TwoPTests
* \brief The properties file for exercise-properties
*/
#ifndef DUMUX_EX_PROPERTIES_HH
......
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