From d979c805ea59a258a715774b6e18eff84fd2b61e Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 14 Jan 2011 15:05:19 +0000 Subject: [PATCH] move declaration of variable 'averageInterface' into the fixed-point code [[Imported from SVN: r6757]] --- dirneucoupling.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dirneucoupling.cc b/dirneucoupling.cc index d672df29..c0d9dcd8 100644 --- a/dirneucoupling.cc +++ b/dirneucoupling.cc @@ -356,8 +356,6 @@ int main (int argc, char *argv[]) try VectorType oldSolution3d = x3d; RodSolutionType oldSolutionRod = rodX; - RigidBodyMotion<3> averageInterface; - if (ddType=="FixedPointIteration") { // ////////////////////////////////////////////////// @@ -428,6 +426,8 @@ int main (int argc, char *argv[]) try // Extract new interface position and orientation // /////////////////////////////////////////////////////////// + RigidBodyMotion<3> averageInterface; + computeAverageInterface(interfaceBoundary[toplevel], x3d, averageInterface); //averageInterface.r[0] = averageInterface.r[1] = 0; -- GitLab