Time incrementing in debug mode.

This commit is contained in:
mattijs 2008-05-02 16:20:10 +01:00
parent f33db54b39
commit 675f8a00e3
3 changed files with 7 additions and 2 deletions

View File

@ -1116,6 +1116,10 @@ void Foam::autoHexMeshDriver::splitAndMergeBaffles
keepPoints_[0]
);
if (debug_)
{
const_cast<Time&>(mesh_.time())++;
}
// Duplicate points on baffles that are on more than one cell
// region. This will help snapping pull them to separate surfaces.

View File

@ -283,7 +283,7 @@ Foam::label Foam::autoHexMeshDriver::mergePatchFacesUndo
if (debug_)
{
Pout<< "**Writing merged-faces mesh to time "
Pout<< "Writing merged-faces mesh to time "
<< mesh_.time().timeName() << nl << endl;
mesh_.write();
}
@ -583,7 +583,7 @@ Foam::label Foam::autoHexMeshDriver::mergeEdgesUndo
if (debug_)
{
Pout<< "**Writing merged-edges mesh to time "
Pout<< "Writing merged-edges mesh to time "
<< mesh_.time().timeName() << nl << endl;
mesh_.write();
}

View File

@ -1111,6 +1111,7 @@ void Foam::autoHexMeshDriver::smoothDisplacement(motionSmoother& meshMover)
if (debug_)
{
const_cast<Time&>(mesh_.time())++;
Pout<< "Writing smoothed mesh to time " << mesh_.time().timeName()
<< endl;
mesh_.write();