diff --git a/exercises/exercise-dunemodule/README.md b/exercises/exercise-dunemodule/README.md index dc204feff9aa800c5c3dc8c6844a01242726da49..e396be75f52aef55968f14630c6c1e0ea5898028 100644 --- a/exercises/exercise-dunemodule/README.md +++ b/exercises/exercise-dunemodule/README.md @@ -31,19 +31,19 @@ The following command will configure your new module ./dune-common/bin/dunecontrol --opts=<opts file> --only=dumux-example all ``` -You need to run this command in the folder with content dumux, dumux-course, dune-common, dune-geometry, dune-grid, dune-istl, etc. `<opts file>` needs to be replaced (please replace the angle brackets also) by an options file, e.g. by `./dumux/cmake.opts`. Have a look at the comments in this file to see how you can adapt it to your needs. +You need to run this command in the folder with content dumux, dumux-course, dune-common, dune-geometry, dune-grid, dune-istl, etc. `<opts file>` needs to be replaced (please replace the angle brackets also) by an options file, e.g., by `./dumux/cmake.opts`. Have a look at the comments in this file to see how you can adapt it to your needs. <hr><br><br> ### Task 3: Create a new test case within your new DuMuX module <hr> -* Create a new folder (in your module folder), e.g. `appl` +* Create a new folder (in your module folder), e.g., `appl` ```bash mkdir appl ``` -* Copy some test case from the dumux module, e.g. test_1p from test/porousmediumflow/1p/implicit/compressible/stationary in your new folder (e.g appl) +* Copy some test case from the dumux module, e.g., test_1p from test/porousmediumflow/1p/implicit/compressible/stationary in your new folder (e.g., `appl`) * Copy the problem, spatialparams, cc source file, input file * Adjust the CMakeLists.txt file within the dumux-example (or your module name)-folder to include your new subdirectory diff --git a/exercises/exercise-mainfile/exercise_1p_a.cc b/exercises/exercise-mainfile/exercise_1p_a.cc index 93a65e39c243c1f08d8dd0b9916c38d94d048562..1c260a38d5907094debe842cfb60a9e8dd3650cc 100644 --- a/exercises/exercise-mainfile/exercise_1p_a.cc +++ b/exercises/exercise-mainfile/exercise_1p_a.cc @@ -112,7 +112,7 @@ int main(int argc, char** argv) try // change the differentiation method to analytic by changing from DiffMethod::numeric to DiffMethod::analytic // the assembler for stationary problems - using Assembler = FVAssembler<TypeTag, DiffMethod::analytic>; + using Assembler = FVAssembler<TypeTag, DiffMethod::numeric>; auto assembler = std::make_shared<Assembler>(problem, fvGridGeometry, gridVariables); // the linear solver diff --git a/exercises/solution/exercise-mainfile/exercise_1p_a_solution.cc b/exercises/solution/exercise-mainfile/exercise_1p_a_solution.cc index 55137bfd5b3cbf57f2bd7aac43c2412ce285b271..93a65e39c243c1f08d8dd0b9916c38d94d048562 100644 --- a/exercises/solution/exercise-mainfile/exercise_1p_a_solution.cc +++ b/exercises/solution/exercise-mainfile/exercise_1p_a_solution.cc @@ -51,7 +51,7 @@ int main(int argc, char** argv) try using namespace Dumux; // define the type tag for this problem - using TypeTag = Properties::TTag::TYPETAG; + using TypeTag = Properties::TTag::OnePIncompressible; //////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////