From 6bf17082e12fde1e7cf1edfdb831e250b0e52790 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 26 Mar 2013 14:57:21 +0000 Subject: [PATCH] STYLE: snappyHexMesh: comment --- .../autoHexMeshDriver/autoLayerDriverShrink.C | 4 ++-- .../autoHexMeshDriver/autoSnapDriver.C | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C index d6556a95083..1f36aa1ab8c 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C @@ -1287,7 +1287,7 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance + ".obj" ) ); - Info<< "Writing points with too large a extrusion distance to " + Info<< "Writing points with too large an extrusion distance to " << str().name() << endl; } @@ -1304,7 +1304,7 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance + ".obj" ) ); - Info<< "Writing points with too large a extrusion distance to " + Info<< "Writing points with too large an extrusion distance to " << medialVecStr().name() << endl; } diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C index b7b79d715e3..f7b2e7fafd7 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1360,6 +1360,19 @@ void Foam::autoSnapDriver::doSnap regionSide ); meshRefinement::updateList(mapPtr().faceMap(), -1, filterFace); + + if (debug&meshRefinement::MESH) + { + const_cast<Time&>(mesh.time())++; + Pout<< "Writing duplicatedPoints mesh to time " + << meshRefiner_.timeName() + << endl; + meshRefiner_.write + ( + debug, mesh.time().path() + /"duplicatedPoints" + ); + } } -- GitLab