Commit 6def59d2 authored by graham's avatar graham
Browse files

ENH: Always output background mesh refinement.

parent e5f921e7
......@@ -273,13 +273,10 @@ void Foam::backgroundMeshDecomposition::initialRefinement()
volumeStatus.transfer(newVolumeStatus);
}
if (debug)
{
Info<< " Background mesh refined from "
<< returnReduce(map().nOldCells(), sumOp<label>())
<< " to " << mesh_.globalData().nTotalCells()
<< " cells." << endl;
}
Info<< " Background mesh refined from "
<< returnReduce(map().nOldCells(), sumOp<label>())
<< " to " << mesh_.globalData().nTotalCells()
<< " cells." << endl;
}
// Determine/update the status of each cell
......@@ -1059,13 +1056,13 @@ Foam::backgroundMeshDecomposition::distribute
cellVertexTypes.transfer(newCellVertexTypes);
}
Info<< " Background mesh refined from "
<< returnReduce(map().nOldCells(), sumOp<label>())
<< " to " << mesh_.globalData().nTotalCells()
<< " cells." << endl;
if (debug)
{
Info<< " Background mesh refined from "
<< returnReduce(map().nOldCells(), sumOp<label>())
<< " to " << mesh_.globalData().nTotalCells()
<< " cells." << endl;
// const_cast<Time&>(mesh_.time())++;
// Info<< "Time " << mesh_.time().timeName() << endl;
cellWeights.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