Skip to content
Snippets Groups Projects
Commit d0bd4968 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Use the new GlobalP2Mapper when a SECOND_ORDER space is requested

[[Imported from SVN: r9762]]
parent ffea8b9e
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,11 @@ class RiemannianTrustRegionSolver
typedef Dune::BlockVector<Dune::FieldVector<field_type, blocksize> > CorrectionType;
typedef std::vector<TargetSpace> SolutionType;
#ifdef SECOND_ORDER
typedef Dune::GlobalP2Mapper<typename GridType::LeafGridView> GUIndex;
#else
typedef GlobalUniqueIndex<typename GridType::LeafGridView, gridDim> GUIndex;
#endif
#ifdef THIRD_ORDER
typedef P3NodalBasis<typename GridType::LeafGridView,double> BasisType;
......
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