ENH: autoSnapDriver: improved debug writing

This commit is contained in:
mattijs
2011-11-28 12:59:39 +00:00
parent f0a68c0098
commit 000ea6b8aa

View File

@ -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();