Skip to content
Snippets Groups Projects
Commit 8c9ac37c authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

use new numbering

[[Imported from SVN: r4471]]
parent f93e433f
No related branches found
No related tags found
No related merge requests found
...@@ -210,7 +210,7 @@ getStress(const std::vector<RigidBodyMotion<3> >& sol, ...@@ -210,7 +210,7 @@ getStress(const std::vector<RigidBodyMotion<3> >& sol,
template <class GridType> template <class GridType>
Dune::FieldVector<double,3> RodAssembler<GridType>:: Dune::FieldVector<double,3> RodAssembler<GridType>::
getResultantForce(const BoundaryPatch<GridType>& boundary, getResultantForce(const LevelBoundaryPatch<GridType>& boundary,
const std::vector<RigidBodyMotion<3> >& sol, const std::vector<RigidBodyMotion<3> >& sol,
Dune::FieldVector<double,3>& canonicalTorque) const Dune::FieldVector<double,3>& canonicalTorque) const
{ {
...@@ -274,7 +274,7 @@ getResultantForce(const BoundaryPatch<GridType>& boundary, ...@@ -274,7 +274,7 @@ getResultantForce(const BoundaryPatch<GridType>& boundary,
// the canonical basis of R^3 // the canonical basis of R^3
FieldMatrix<double,3,3> orientationMatrix; 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); orientationMatrix.umv(localStress, canonicalStress);
......
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