From 7335b82d52819dd9c642bd87f8b78aa30a73ef1c Mon Sep 17 00:00:00 2001 From: graham Date: Thu, 2 Dec 2010 17:12:51 +0000 Subject: [PATCH] ENH: Remove commented out rotation hack. --- .../conformalVoronoiMesh.C | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C index 4dedd0be1d..42d5c1ae81 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C @@ -1526,20 +1526,6 @@ void Foam::conformalVoronoiMesh::move() // Relax the calculated displacement displacementAccumulator *= relaxation; - // scalar phi(degToRad(2.0)); - // point ref(vector::zero); - // vector axis(0, 1, 0); - // scalar radSqr(sqr(0.45)); - - // tensor R - // ( - // Foam::cos(phi), 0, Foam::sin(phi), - // 0, 1, 0, - // -Foam::sin(phi), 0, Foam::cos(phi) - // ); - - // Info<< "Hacked in rotation around y axis of: " << R << endl; - for ( Triangulation::Finite_vertices_iterator vit = finite_vertices_begin(); @@ -1551,27 +1537,6 @@ void Foam::conformalVoronoiMesh::move() { if (pointToBeRetained[vit->index()] == true) { - // point p = topoint - // ( - // vit->point() - // + toCGALVector(displacementAccumulator[vit->index()]) - // ); - - // if (magSqr((p - ref) - ((p - ref) & axis)*axis) < radSqr) - // { - // pointsToInsert.push_back - // ( - // toPoint(R & p) - // ); - // } - // else - // { - // pointsToInsert.push_back - // ( - // toPoint(p) - // ); - // } - pointsToInsert.push_back ( vit->point()