From 06869661f7ed9a100bb7ac9390a63e01b5c5b627 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 23 Jan 2011 16:58:15 +0000
Subject: [PATCH] hack removal: computeAveragePressure takes a single combined
 force/torque vector now

[[Imported from SVN: r6848]]
---
 dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh b/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh
index a4088fc4..4e7333ed 100644
--- a/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh
+++ b/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh
@@ -597,12 +597,6 @@ linearizedContinuumNeumannToDirichletMap(const VectorType& currentIterate,
                                          const RigidBodyMotion<3>::TangentVector& forceTorque,
                                          const Dune::FieldVector<double,3>& centerOfTorque) const
 {
-    Dune::FieldVector<double,3> force, torque;
-    for (int i=0; i<3; i++) {
-        force[i]  = forceTorque[i];
-        torque[i] = forceTorque[i+3];
-    }
-    
     std::pair<std::string,std::string> interfaceName = std::make_pair("rod","continuum");
         
     ////////////////////////////////////////////////////
@@ -628,7 +622,7 @@ linearizedContinuumNeumannToDirichletMap(const VectorType& currentIterate,
     neumannValues = 0;
 
     // 
-    computeAveragePressure<typename ContinuumGridType::LeafGridView>(force, torque, 
+    computeAveragePressure<typename ContinuumGridType::LeafGridView>(forceTorque, 
                                      interface, 
                                      centerOfTorque,
                                      neumannValues);
-- 
GitLab