diff --git a/amibe/src/org/jcae/mesh/amibe/algos3d/VertexInsertion.java b/amibe/src/org/jcae/mesh/amibe/algos3d/VertexInsertion.java index 8106816f9..63948a02a 100644 --- a/amibe/src/org/jcae/mesh/amibe/algos3d/VertexInsertion.java +++ b/amibe/src/org/jcae/mesh/amibe/algos3d/VertexInsertion.java @@ -186,7 +186,7 @@ public void insertNodes(List vertices, int group) Vertex v = vertices.get(randomIterator.get(i)); double localMetric = metric.getTargetSize( v.getX(), v.getY(), v.getZ(), group); - double localMetric2 = localMetric * localMetric; + double localMetric2 = localMetric * localMetric / 2; double tol2 = localMetric2 / (40 * 40); TriangleHE t = (TriangleHE) kdTree.getClosestTriangle( v, projection, group);