diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C index b7fc0b3a1c..8d491429e4 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C @@ -1110,7 +1110,7 @@ Foam::conformalVoronoiMesh::collapseFace // Output face and collapse axis for visualisation - Info<< "# Aspect ratio = " << aspectRatio << nl + Pout<< "# Aspect ratio = " << aspectRatio << nl << "# inertia = " << J << nl << "# determinant = " << detJ << nl << "# eigenvalues = " << eigenValues(J) << nl @@ -1120,17 +1120,17 @@ Foam::conformalVoronoiMesh::collapseFace forAll(f, fPtI) { - meshTools::writeOBJ(Info, pts[f[fPtI]]); + meshTools::writeOBJ(Pout, pts[f[fPtI]]); } - Info<< "f"; + Pout<< "f"; forAll(f, fPtI) { - Info << " " << fPtI + 1; + Pout << " " << fPtI + 1; } - Info<< endl; + Pout<< endl; return fcmNone; } @@ -1402,7 +1402,7 @@ Foam::conformalVoronoiMesh::collapseFace // { // // Output face and collapse axis for visualisation - // Info<< "# Aspect ratio = " << aspectRatio << nl + // Pout<< "# Aspect ratio = " << aspectRatio << nl // << "# determinant = " << detJ << nl // << "# collapseAxis = " << collapseAxis << nl // << "# mode = " << mode << nl @@ -1412,33 +1412,33 @@ Foam::conformalVoronoiMesh::collapseFace // scalar scale = 2.0*mag(fC - pts[f[0]]); - // meshTools::writeOBJ(Info, fC); - // meshTools::writeOBJ(Info, fC + scale*collapseAxis); + // meshTools::writeOBJ(Pout, fC); + // meshTools::writeOBJ(Pout, fC + scale*collapseAxis); - // Info<< "f 1 2" << endl; + // Pout<< "f 1 2" << endl; // forAll(f, fPtI) // { - // meshTools::writeOBJ(Info, pts[f[fPtI]]); + // meshTools::writeOBJ(Pout, pts[f[fPtI]]); // } - // Info<< "f"; + // Pout<< "f"; // forAll(f, fPtI) // { - // Info << " " << fPtI + 3; + // Pout << " " << fPtI + 3; // } - // Info<< nl << "# " << d << endl; + // Pout<< nl << "# " << d << endl; - // Info<< "# " << d.first() << " " << d.last() << endl; + // Pout<< "# " << d.first() << " " << d.last() << endl; // forAll(d, dI) // { - // meshTools::writeOBJ(Info, fC + (d[dI] - dShift)*collapseAxis); + // meshTools::writeOBJ(Pout, fC + (d[dI] - dShift)*collapseAxis); // } - // Info<< endl; + // Pout<< endl; // } return mode; @@ -1490,7 +1490,7 @@ void Foam::conformalVoronoiMesh::deferredCollapseFaceSet } } - Info<< "facesToCollapse" << nl << faceLabels << endl; + Pout<< "facesToCollapse" << nl << faceLabels << endl; } @@ -1632,7 +1632,8 @@ Foam::labelHashSet Foam::conformalVoronoiMesh::checkPolyMeshQuality if (checkFaces.size() < fAreas.size()) { - Info<< "Excluding " << fAreas.size() - checkFaces.size() + Info<< "Excluding " + << returnReduce(fAreas.size() - checkFaces.size(), sumOp