ENH: Always output background mesh refinement.

This commit is contained in:
graham
2011-06-22 11:29:30 +01:00
parent e5f921e765
commit 6def59d23f

View File

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