From e21bdd07f63970601aa062ac4308eb4d6887c48d Mon Sep 17 00:00:00 2001 From: Rainer Backofen <rainer.backofen@tu-dresden.de> Date: Wed, 17 Feb 2010 16:11:35 +0000 Subject: [PATCH] interpol between different DOFVectors failed if coords of DOF identical,\n thus rule to decide if point is in element is relaxed --- AMDiS/src/DOFVector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMDiS/src/DOFVector.cc b/AMDiS/src/DOFVector.cc index 51c07461..3043ab0a 100644 --- a/AMDiS/src/DOFVector.cc +++ b/AMDiS/src/DOFVector.cc @@ -533,7 +533,7 @@ namespace AMDiS { bool isPositive = true; for (int j = 0; j < coords2.size(); j++) { - if (coords2[j] < 0) { + if (coords2[j] < -0.00001) { isPositive = false; break; } -- GitLab