ENH: blockMesh: Always put the mesh in the constant directory

This commit is contained in:
Will Bainbridge
2017-12-19 09:58:51 +00:00
committed by Andrew Heather
parent f37ec93404
commit 13d893e4c0

View File

@ -401,8 +401,10 @@ int main(int argc, char *argv[])
{
Info<< nl << "Detected cyclic patches; ordering boundary faces"
<< endl;
const word oldInstance = mesh.instance();
polyTopoChange meshMod(mesh);
meshMod.changeMesh(mesh, false);
mesh.setInstance(oldInstance);
}
}