Commit b2f40aec authored by mattijs's avatar mattijs
Browse files

STYLE: autoLayerDriver: extra comment

parent 2b320a54
...@@ -1144,6 +1144,7 @@ void Foam::autoLayerDriver::syncPatchDisplacement ...@@ -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 ...@@ -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 ...@@ -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
( (
......
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