Commit 0c9addbe authored by Andreas Lauser's avatar Andreas Lauser
Browse files

make it compile under GCC 4.1

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5147 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 6b750441
......@@ -65,6 +65,7 @@ SET_PROP(LensProblem, Grid)
#endif
};
#if HAVE_DUNE_PDELAB
SET_PROP(LensProblem, LocalFEMSpace)
{
typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar;
......@@ -75,6 +76,7 @@ public:
typedef Dune::PDELab::Q1LocalFiniteElementMap<Scalar,Scalar,dim> type; // for cubes
// typedef Dune::PDELab::P1LocalFiniteElementMap<Scalar,Scalar,dim> type; // for simplices
};
#endif
// Set the problem property
SET_PROP(LensProblem, Problem)
......
......@@ -63,6 +63,7 @@ SET_PROP(LensProblem, Grid)
#endif
};
#if HAVE_DUNE_PDELAB
SET_PROP(LensProblem, LocalFEMSpace)
{
typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar;
......@@ -73,6 +74,7 @@ public:
typedef Dune::PDELab::Q1LocalFiniteElementMap<Scalar,Scalar,dim> type; // for cubes
// typedef Dune::PDELab::P1LocalFiniteElementMap<Scalar,Scalar,dim> type; // for simplices
};
#endif // HAVE_DUNE_PDELAB
// Set the problem property
SET_PROP(LensProblem, Problem)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment