From 0db13f55686df79a324dde2b166b2391f6a6d709 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 26 Jan 2011 10:34:38 +0000 Subject: [PATCH] bugfix: forgot to set initial value [[Imported from SVN: r6883]] --- dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh b/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh index f34fa905..73875e8d 100644 --- a/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh +++ b/dune/gfe/coupling/rodcontinuumsteklovpoincarestep.hh @@ -1046,6 +1046,7 @@ iterateWithContact(std::map<std::pair<std::string,std::string>, RigidBodyMotion< VectorType& thisX = x[it->first]; thisX.resize(dirichletValues.size()); + thisX = 0; for (size_t i=0; i<thisX.size(); i++) if (dirichletBoundary.containsVertex(i)) -- GitLab