From 000ea6b8aad21b3427db960b04ba82419e6fadb2 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 28 Nov 2011 12:59:39 +0000 Subject: [PATCH] ENH: autoSnapDriver: improved debug writing --- .../autoHexMesh/autoHexMeshDriver/autoSnapDriver.C | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C index ee35dbfe4d..dd0a914d0c 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C @@ -29,7 +29,6 @@ Description #include "autoSnapDriver.H" #include "motionSmoother.H" #include "polyTopoChange.H" -#include "OFstream.H" #include "syncTools.H" #include "fvMesh.H" #include "Time.H" @@ -1006,7 +1005,11 @@ void Foam::autoSnapDriver::smoothDisplacement // but this will also delete all pointMesh but not pointFields which // gives an illegal situation. - mesh.write(); + meshRefiner_.write + ( + debug, + mesh.time().path()/meshRefiner_.timeName() + ); Pout<< "Writing displacement field ..." << endl; disp.write();