Commit 8058b73b authored by Franjo's avatar Franjo

Merge branch 'enhancement-greedySmoothing' into development

Conflicts:
	meshLibrary/cartesianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
	meshLibrary/utilities/smoothers/geometry/meshOptimizer/optimizeMeshFV.C
parents 25bc641a 0cac86ab
......@@ -552,6 +552,7 @@ void meshOptimizer::optimizeMeshFVBestQuality
)
{
label nBadFaces, nIter(0);
label minIter(-1);
const faceListPMG& faces = mesh_.faces();
boolList changedFace(faces.size(), true);
......@@ -592,6 +593,9 @@ void meshOptimizer::optimizeMeshFVBestQuality
if( nBadFaces < minNumBadFaces )
{
minNumBadFaces = nBadFaces;
//- update the iteration number when the minimum is achieved
minIter = nIter;
}
partTetMesh tetMesh(mesh_, lockedPoints, lowQualityFaces, 2);
......
Markdown is supported
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