mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: snappyHexMesh: limit printing in dry-run. See #972.
This commit is contained in:
@ -3854,6 +3854,12 @@ Foam::vectorField Foam::snappySnapDriver::calcNearestSurfaceFeature
|
||||
|
||||
) const
|
||||
{
|
||||
if (dryRun_)
|
||||
{
|
||||
return nearestDisp;
|
||||
}
|
||||
|
||||
|
||||
const Switch implicitFeatureAttraction = snapParams.implicitFeatureSnap();
|
||||
const Switch explicitFeatureAttraction = snapParams.explicitFeatureSnap();
|
||||
const Switch multiRegionFeatureSnap = snapParams.multiRegionFeatureSnap();
|
||||
@ -3864,7 +3870,6 @@ Foam::vectorField Foam::snappySnapDriver::calcNearestSurfaceFeature
|
||||
<< " multi-patch features : " << multiRegionFeatureSnap << nl
|
||||
<< endl;
|
||||
|
||||
|
||||
const indirectPrimitivePatch& pp = meshMover.patch();
|
||||
const pointField& localPoints = pp.localPoints();
|
||||
const fvMesh& mesh = meshRefiner_.mesh();
|
||||
|
||||
Reference in New Issue
Block a user