ENH: Remove commented out rotation hack.

This commit is contained in:
graham
2010-12-02 17:12:51 +00:00
parent be020dbedf
commit 7335b82d52

View File

@ -1526,20 +1526,6 @@ void Foam::conformalVoronoiMesh::move()
// Relax the calculated displacement // Relax the calculated displacement
displacementAccumulator *= relaxation; 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 for
( (
Triangulation::Finite_vertices_iterator vit = finite_vertices_begin(); Triangulation::Finite_vertices_iterator vit = finite_vertices_begin();
@ -1551,27 +1537,6 @@ void Foam::conformalVoronoiMesh::move()
{ {
if (pointToBeRetained[vit->index()] == true) 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 pointsToInsert.push_back
( (
vit->point() vit->point()