STYLE: autoLayerDriver: extra comment

This commit is contained in:
mattijs 2012-01-13 08:31:23 +00:00
parent 2b320a5488
commit b2f40aecf5

View File

@ -1144,6 +1144,7 @@ void Foam::autoLayerDriver::syncPatchDisplacement
); );
// Reset if differs // Reset if differs
// 1. take max
forAll(syncPatchNLayers, i) forAll(syncPatchNLayers, i)
{ {
if (syncPatchNLayers[i] != patchNLayers[i]) if (syncPatchNLayers[i] != patchNLayers[i])
@ -1174,6 +1175,7 @@ void Foam::autoLayerDriver::syncPatchDisplacement
); );
// Reset if differs // Reset if differs
// 2. take min
forAll(syncPatchNLayers, i) forAll(syncPatchNLayers, i)
{ {
if (syncPatchNLayers[i] != patchNLayers[i]) if (syncPatchNLayers[i] != patchNLayers[i])
@ -2726,7 +2728,7 @@ void Foam::autoLayerDriver::addLayers
Info<< "Writing shrunk mesh to " << meshRefiner_.timeName() << endl; Info<< "Writing shrunk mesh to " << meshRefiner_.timeName() << endl;
// See comment in autoSnapDriver why we should not remove meshPhi // See comment in autoSnapDriver why we should not remove meshPhi
// using mesh.clearPout(). // using mesh.clearOut().
meshRefiner_.write meshRefiner_.write
( (