mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: cvMesh: Default alignment to identity tensor if it is bad
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user