From 13dbb15f1efcfbf69242bd7daffd3b325f8c0e4f Mon Sep 17 00:00:00 2001 From: Martin Schneider <martin.schneider@iws.uni-stuttgart.de> Date: Wed, 11 Oct 2017 15:50:26 +0200 Subject: [PATCH] [ex1] Update of readme and CMakeLists --- tutorial/ex1/CMakeLists.txt | 6 ++++-- tutorial/ex1/README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tutorial/ex1/CMakeLists.txt b/tutorial/ex1/CMakeLists.txt index 8f7d6e6d61..b23435c886 100644 --- a/tutorial/ex1/CMakeLists.txt +++ b/tutorial/ex1/CMakeLists.txt @@ -1,10 +1,12 @@ # the immiscible two-phase simulation program dune_add_test(NAME exercise1_2p - SOURCES exercise1_2p.cc) + SOURCES exercise1_2p.cc + COMMAND ./exercise1_2p exercise1.input) # the compositional two-phase simulation program dune_add_test(NAME exercise1_2p2c - SOURCES exercise1_2p2c.cc) + SOURCES exercise1_2p2c.cc + COMMAND ./exercise1_2p2c exercise1.input) # add a symlink for the input file dune_symlink_to_source_files(FILES "exercise1.input") diff --git a/tutorial/ex1/README.md b/tutorial/ex1/README.md index cac3a86d71..4b11282958 100644 --- a/tutorial/ex1/README.md +++ b/tutorial/ex1/README.md @@ -104,7 +104,7 @@ in the `injection2p2cproblem.hh` file and also remember to also set the paramete * Check the influence of that parameter on the simulation result by rerunning the simulation with different injection rates. Remember to also set the parameter totalAreaSpecificInflow in the input file. -Again, you don't need to recompile the program. +Since you have changed your header hile, you have to recompile the program. <hr><br><br> ### 5. Setting up a new executable (for a non-isothermal simulation) -- GitLab