Skip to content
Snippets Groups Projects
Commit f80c4fa6 authored by mattijs's avatar mattijs
Browse files

ENH: autoLayerDriverShrink: extraneous printing

parent 3cfc15ce
No related merge requests found
...@@ -336,7 +336,7 @@ void Foam::autoLayerDriver::smoothNormals ...@@ -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 ...@@ -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;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment