Commit 900ae801 authored by Robert K's avatar Robert K Committed by Andreas Dedner

[cleanup][WANT_GRAPE] probably not used anymore.

white space change.
parent c8e23903
......@@ -60,7 +60,7 @@ namespace Dune
typedef typename GridPartType::template Codim< codimension >::EntityType EntityType;
public:
typedef Dune::Fem::IndexSetDofMapper< GridPartType > BlockMapperType;
typedef Dune::Fem::IndexSetDofMapper< GridPartType, LagrangeLocalDofMapping< GridPartType > > BlockMapperType;
typedef LocalFunctionsShapeFunctionSet< typename LocalFiniteElementType::Traits::LocalBasisType > LocalFunctionsShapeFunctionSetType;
typedef SelectCachingShapeFunctionSet< LocalFunctionsShapeFunctionSetType, Storage > StoredShapeFunctionSetType;
......@@ -226,10 +226,10 @@ namespace Dune
}
/** @copydoc Dune::Fem::DiscreteFunctionSpaceInterface::continuous */
bool continuous () const { return false; }
bool continuous () const { return true; }
/** @copydoc Dune::Fem::DiscreteFunctionSpaceInterface::continuous */
bool continuous ( const IntersectionType &intersection ) const { return false; }
bool continuous ( const IntersectionType &intersection ) const { return true; }
/** @copydoc Dune::Fem::DiscreteFunctionSpaceInterface::order */
int order () const { return lfeMap_->order(); }
......
......@@ -11,6 +11,10 @@
#define WANT_GRAPE 0
#endif
#if WANT_GRAPE
#define USE_GRAPE 1
#endif
// polynomial order of base functions
const int polOrder = 2; // POLORDER;
......@@ -32,15 +36,6 @@ const int polOrder = 2; // POLORDER;
#include <dune/fem/misc/h1norm.hh>
#include <dune/fem/io/file/dataoutput.hh>
#if HAVE_GRAPE
#define USE_GRAPE WANT_GRAPE
#else
#define USE_GRAPE 0
#if WANT_GRAPE
#warning "Grape was not found by configure."
#endif
#endif
#if USE_GRAPE
#include <dune/grid/io/visual/grapedatadisplay.hh>
#endif
......
Markdown is supported
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