From 8c9ac37c9173f8774532407a16e9cc7f8c7ab415 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 5 Aug 2009 14:42:22 +0000 Subject: [PATCH] use new numbering [[Imported from SVN: r4471]] --- src/rodassembler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rodassembler.cc b/src/rodassembler.cc index 1df607af..360beef7 100644 --- a/src/rodassembler.cc +++ b/src/rodassembler.cc @@ -210,7 +210,7 @@ getStress(const std::vector<RigidBodyMotion<3> >& sol, template <class GridType> Dune::FieldVector<double,3> RodAssembler<GridType>:: -getResultantForce(const BoundaryPatch<GridType>& boundary, +getResultantForce(const LevelBoundaryPatch<GridType>& boundary, const std::vector<RigidBodyMotion<3> >& sol, Dune::FieldVector<double,3>& canonicalTorque) const { @@ -274,7 +274,7 @@ getResultantForce(const BoundaryPatch<GridType>& boundary, // the canonical basis of R^3 FieldMatrix<double,3,3> orientationMatrix; - sol[indexSet.template subIndex<1>(*eIt,nIt->numberInSelf())].q.matrix(orientationMatrix); + sol[indexSet.subIndex(*eIt,nIt->indexInInside())].q.matrix(orientationMatrix,1); orientationMatrix.umv(localStress, canonicalStress); -- GitLab