mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
moved warningIn msgs to inside if (debug) statements
This commit is contained in:
@ -164,12 +164,12 @@ void Foam::cellPointWeight::findTetrahedron
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WarningIn
|
if (debug)
|
||||||
(
|
{
|
||||||
"cellPointWeight::findTetrahedron"
|
Pout<< "cellPointWeight::findTetrahedron" << nl
|
||||||
"(const polyMesh&, const vector&, const label, const label)"
|
<< " Tetrahedron search failed; using closest tet values to "
|
||||||
) << "Tetrahedron search failed; using closest tet values to point "
|
<< "point " << nl << " cell: " << cellIndex << nl << endl;
|
||||||
<< nl << " cell: " << cellIndex << endl;
|
}
|
||||||
|
|
||||||
const labelList& facePointsClose = mesh.faces()[cellFaces[faceClose]];
|
const labelList& facePointsClose = mesh.faces()[cellFaces[faceClose]];
|
||||||
faceVertices_[0] = facePointsClose[0];
|
faceVertices_[0] = facePointsClose[0];
|
||||||
@ -284,13 +284,12 @@ void Foam::cellPointWeight::findTriangle
|
|||||||
pointI++;
|
pointI++;
|
||||||
}
|
}
|
||||||
|
|
||||||
WarningIn
|
if (debug)
|
||||||
(
|
{
|
||||||
"Foam::cellPointWeight::findTriangle"
|
Pout<< "Foam::cellPointWeight::findTriangle"
|
||||||
"(const polyMesh&, const vector&, const label)"
|
<< "Triangle search failed; using closest triangle to point" << nl
|
||||||
) << "Triangle search failed; using closest triangle to "
|
<< " cell face: " << faceIndex << nl << endl;
|
||||||
<< "point" << nl
|
}
|
||||||
<< " cell face: " << faceIndex << endl;
|
|
||||||
|
|
||||||
// Indices of the cell vertices making up the triangle
|
// Indices of the cell vertices making up the triangle
|
||||||
faceVertices_[0] = facePoints[0];
|
faceVertices_[0] = facePoints[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user