Commit 528b3e8c authored by laurence's avatar laurence
Browse files

ENH: cvMesh: Default alignment to identity tensor if it is bad

parent 777e73d7
......@@ -817,9 +817,7 @@ void Foam::cellShapeControlMesh::write() const
{
Info<< "Bad alignment = " << vit->info();
triad tmpTriad(vit->alignment());
tmpTriad.orthogonalize();
vit->alignment() = tmpTriad;
vit->alignment() = tensor::I;
Info<< "New alignment = " << vit->info();
......
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