Commit 777e73d7 authored by laurence's avatar laurence
Browse files

ENH: cvMesh: Try to fix alignment

parent 6799d666
......@@ -816,6 +816,13 @@ void Foam::cellShapeControlMesh::write() const
)
{
Info<< "Bad alignment = " << vit->info();
triad tmpTriad(vit->alignment());
tmpTriad.orthogonalize();
vit->alignment() = tmpTriad;
Info<< "New alignment = " << vit->info();
continue;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment