diff --git a/dumux/porousmediumflow/richards/implicit/model.hh b/dumux/porousmediumflow/richards/implicit/model.hh index 92a7cc68269f007b268e3f25ddd9c65fa69cf4a1..b6beab4c9bbcdf4687d277ce266005c1331bfb7a 100644 --- a/dumux/porousmediumflow/richards/implicit/model.hh +++ b/dumux/porousmediumflow/richards/implicit/model.hh @@ -138,7 +138,7 @@ public: { typedef Dune::BlockVector<Dune::FieldVector<double, 1> > ScalarField; typedef Dune::BlockVector<Dune::FieldVector<double, dimWorld> > VectorField; - bool gravity =GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, bool, Problem, EnableGravity); + bool gravity =GET_PARAM_FROM_GROUP(TypeTag, bool, Problem, EnableGravity); // get the number of degrees of freedom unsigned numDofs = this->numDofs(); diff --git a/dumux/porousmediumflow/richards/implicit/problem.hh b/dumux/porousmediumflow/richards/implicit/problem.hh index 7ef996b618dffb94c3d440236646067852f6ec30..19637600fd4a5a19f41bc3296bfda49f22634a82 100644 --- a/dumux/porousmediumflow/richards/implicit/problem.hh +++ b/dumux/porousmediumflow/richards/implicit/problem.hh @@ -64,7 +64,7 @@ public: RichardsProblem(TimeManager &timeManager, const GridView &gridView) : ParentType(timeManager, gridView) { - bool gravity_ =GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, bool, Problem, EnableGravity); + bool gravity_ = GET_PARAM_FROM_GROUP(TypeTag, bool, Problem, EnableGravity); static const bool useHead = GET_PROP_VALUE(TypeTag, UseHead); if ( (!gravity_) && (useHead) )