From 2a38fb68e241f4a05f5d4964f190bb2158d683a0 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 26 Feb 2010 21:29:26 +0000 Subject: [PATCH] get rid of the old dune-disc shapefunctions [[Imported from SVN: r5639]] --- src/rodassembler.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rodassembler.cc b/src/rodassembler.cc index 47c1d20b..c89266ca 100644 --- a/src/rodassembler.cc +++ b/src/rodassembler.cc @@ -5,7 +5,6 @@ #include <dune/grid/common/quadraturerules.hh> -#include <dune/disc/shapefunctions/lagrangeshapefunctions.hh> #include <dune/localfunctions/lagrange/p1.hh> #include "src/rodlocalstiffness.hh" @@ -118,9 +117,8 @@ getStrain(const std::vector<RigidBodyMotion<3> >& sol, int elementIdx = indexSet.index(*it); // Extract local solution on this element - const LagrangeShapeFunctionSet<double, double, gridDim> & baseSet - = Dune::LagrangeShapeFunctions<double, double, gridDim>::general(it->type(), elementOrder); - int numOfBaseFct = baseSet.size(); + Dune::P1LocalFiniteElement<double,double,gridDim> localFiniteElement; + int numOfBaseFct = localFiniteElement.localCoefficients().size(); std::vector<RigidBodyMotion<3> > localSolution(2); -- GitLab