Commit 675f8a00 authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

Time incrementing in debug mode.

parent f33db54b
......@@ -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.
......
......@@ -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();
}
......
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment