mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: autoLayerDriverShrink: extraneous printing
This commit is contained in:
@ -336,7 +336,7 @@ void Foam::autoLayerDriver::smoothNormals
|
|||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
// Get smoothly varying internal normals field.
|
// Get smoothly varying internal normals field.
|
||||||
Info<< "shrinkMeshDistance : Smoothing normals ..." << endl;
|
Info<< "shrinkMeshDistance : Smoothing normals in interior ..." << endl;
|
||||||
|
|
||||||
const fvMesh& mesh = meshRefiner_.mesh();
|
const fvMesh& mesh = meshRefiner_.mesh();
|
||||||
const edgeList& edges = mesh.edges();
|
const edgeList& edges = mesh.edges();
|
||||||
@ -1161,6 +1161,11 @@ void Foam::autoLayerDriver::medialAxisSmoothingInfo
|
|||||||
scalar mDist = medialDist[pointI];
|
scalar mDist = medialDist[pointI];
|
||||||
|
|
||||||
if (wDist2 < sqr(SMALL) && mDist < SMALL)
|
if (wDist2 < sqr(SMALL) && mDist < SMALL)
|
||||||
|
//- Note: maybe less strict:
|
||||||
|
//(
|
||||||
|
// wDist2 < sqr(meshRefiner_.mergeDistance())
|
||||||
|
// && mDist < meshRefiner_.mergeDistance()
|
||||||
|
//)
|
||||||
{
|
{
|
||||||
medialRatio[pointI] = 0.0;
|
medialRatio[pointI] = 0.0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user