Skip to content
Snippets Groups Projects
Commit 0021f3e1 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

fix decoupled 1p problem such that it would take a problem parameter from the...

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
parent ae50a1dc
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ DtInitial = 0 # [s] ...@@ -13,7 +13,7 @@ DtInitial = 0 # [s]
TEnd = 0 # [s] TEnd = 0 # [s]
[Problem] [Problem]
Delta = 1e-6 # [-] if this is commented in, it is used #Delta = 1e-6 # [-] if this is commented in, it is used
[Grid] [Grid]
NumberOfCellsX = 1 # [-] resolution in x-direction NumberOfCellsX = 1 # [-] resolution in x-direction
......
...@@ -127,7 +127,7 @@ public: ...@@ -127,7 +127,7 @@ public:
try try
{ {
if (ParameterTree::tree().hasKey("delta")) if (ParameterTree::tree().hasKey("Problem.Delta"))
delta_ = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, Scalar, Problem, Delta); delta_ = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, Scalar, Problem, Delta);
int numRefine; int numRefine;
numRefine = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, int, Grid, NumRefine); numRefine = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, int, Grid, NumRefine);
......
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