From 39e31a9c103e0210392cfec5966e3f997c1b7d6c Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Fri, 10 Feb 2012 00:07:11 +0000 Subject: [PATCH] decoupled 1p: fixed GridCreator typedef git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7707 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- test/decoupled/1p/test_1p_problem.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/decoupled/1p/test_1p_problem.hh b/test/decoupled/1p/test_1p_problem.hh index 008ac683c7..f5b34974a3 100644 --- a/test/decoupled/1p/test_1p_problem.hh +++ b/test/decoupled/1p/test_1p_problem.hh @@ -115,7 +115,7 @@ class TestProblemOneP: public DiffusionProblem1P<TypeTag > typedef typename GridView::Intersection Intersection; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; typedef typename GET_PROP(TypeTag, ParameterTree) ParameterTree; - typedef typename GET_PROP(TypeTag, GridCreator) GridCreator; + typedef typename GET_PROP_TYPE(TypeTag, GridCreator) GridCreator; public: @@ -130,7 +130,6 @@ public: delta_ = GET_RUNTIME_PARAM(TypeTag, Scalar, delta_); int numRefine; numRefine = GET_RUNTIME_PARAM(TypeTag, int, numRefine); -#warning access to grid does not work GridCreator::grid().globalRefine(numRefine); } catch (Dumux::ParameterException &e) { -- GitLab