mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: globalIndexAndTransform : updated debug message
This commit is contained in:
@ -480,26 +480,28 @@ Foam::globalIndexAndTransform::globalIndexAndTransform
|
||||
|
||||
determinePatchTransformSign();
|
||||
|
||||
if (debug && transforms_.size() > 1)
|
||||
if (debug && transforms_.size() > 0)
|
||||
{
|
||||
const polyBoundaryMesh& patches = mesh_.boundaryMesh();
|
||||
|
||||
Info<< "Determined global transforms :" << endl;
|
||||
Info<< "\t\ttranslation\trotation" << endl;
|
||||
forAll(transforms_, i)
|
||||
{
|
||||
Info<< '\t' << i << '\t';
|
||||
if (transforms_[i].hasR())
|
||||
const vectorTensorTransform& trafo = transforms_[i];
|
||||
if (trafo.hasR())
|
||||
{
|
||||
Info<< transforms_[i].t() << '\t' << transforms_[i].R();
|
||||
Info<< trafo.t() << '\t' << trafo.R();
|
||||
}
|
||||
else
|
||||
{
|
||||
Info<< transforms_[i].t() << '\t' << "---";
|
||||
Info<< trafo.t() << '\t' << "---";
|
||||
}
|
||||
Info<< endl;
|
||||
}
|
||||
Info<< endl;
|
||||
|
||||
const polyBoundaryMesh& patches = mesh_.boundaryMesh();
|
||||
|
||||
Info<< "\tpatch\ttransform\tsign" << endl;
|
||||
forAll(patchTransformSign_, patchI)
|
||||
@ -513,6 +515,26 @@ Foam::globalIndexAndTransform::globalIndexAndTransform
|
||||
}
|
||||
}
|
||||
Info<< endl;
|
||||
|
||||
|
||||
Info<< "Permutations of transformations:" << endl
|
||||
<< "\t\ttranslation\trotation" << endl;
|
||||
forAll(transformPermutations_, i)
|
||||
{
|
||||
Info<< '\t' << i << '\t';
|
||||
const vectorTensorTransform& trafo = transformPermutations_[i];
|
||||
if (trafo.hasR())
|
||||
{
|
||||
Info<< trafo.t() << '\t' << trafo.R();
|
||||
}
|
||||
else
|
||||
{
|
||||
Info<< trafo.t() << '\t' << "---";
|
||||
}
|
||||
Info<< endl;
|
||||
}
|
||||
Info<< "nullTransformIndex:" << nullTransformIndex() << endl
|
||||
<< endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user