ENH: snappyHexMesh: do not stop with single mesh error

This commit is contained in:
mattijs
2013-04-02 15:19:37 +01:00
parent 4fe6630fcc
commit 50c820c330

View File

@ -1529,13 +1529,18 @@ void Foam::autoSnapDriver::doSnap
if (!meshOk) if (!meshOk)
{ {
Info<< "Did not succesfully snap mesh. Giving up." WarningIn("autoSnapDriver::doSnap(..)")
<< nl << endl; << "Did not succesfully snap mesh."
<< " Continuing to snap to resolve easy surfaces but the"
// Use current mesh as base mesh << " resulting mesh will not satisfy your quality"
meshMover.correct(); << " constraints" << nl << endl;
//Info<< "Did not succesfully snap mesh. Giving up."
break; // << nl << endl;
//
//// Use current mesh as base mesh
//meshMover.correct();
//
//break;
} }
if (debug&meshRefinement::MESH) if (debug&meshRefinement::MESH)