BUG: autoLayerDriver.C : mapping meshPhi after adding proc boundaries. TBD.

This commit is contained in:
mattijs
2011-03-28 12:46:36 +01:00
parent 19587565f8
commit e4397535ac

View File

@ -3262,6 +3262,9 @@ void Foam::autoLayerDriver::addLayers
// Apply the stored topo changes to the current mesh.
autoPtr<mapPolyMesh> map = savedMeshMod.changeMesh(mesh, false);
// Hack to remove meshPhi - mapped incorrectly. TBD.
mesh.clearOut();
// Update fields
mesh.updateMesh(map);