From 0021f3e1ed2e399d59ac8eb2d97ce9fa0c5b2555 Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Wed, 23 Oct 2013 12:21:09 +0000 Subject: [PATCH] fix decoupled 1p problem such that it would take a problem parameter from the input file. Comment the setting of the parameter git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11783 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- test/decoupled/1p/test_1p.input | 2 +- test/decoupled/1p/test_1pproblem.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/decoupled/1p/test_1p.input b/test/decoupled/1p/test_1p.input index cb04a650a1..a17f893969 100644 --- a/test/decoupled/1p/test_1p.input +++ b/test/decoupled/1p/test_1p.input @@ -13,7 +13,7 @@ DtInitial = 0 # [s] TEnd = 0 # [s] [Problem] -Delta = 1e-6 # [-] if this is commented in, it is used +#Delta = 1e-6 # [-] if this is commented in, it is used [Grid] NumberOfCellsX = 1 # [-] resolution in x-direction diff --git a/test/decoupled/1p/test_1pproblem.hh b/test/decoupled/1p/test_1pproblem.hh index d2fb83c34b..b508ec7856 100644 --- a/test/decoupled/1p/test_1pproblem.hh +++ b/test/decoupled/1p/test_1pproblem.hh @@ -127,7 +127,7 @@ public: try { - if (ParameterTree::tree().hasKey("delta")) + if (ParameterTree::tree().hasKey("Problem.Delta")) delta_ = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, Scalar, Problem, Delta); int numRefine; numRefine = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, int, Grid, NumRefine); -- GitLab