Merge commit 'OpenCFD/master' into olesenm

This commit is contained in:
Mark Olesen
2008-06-26 14:08:49 +02:00
89 changed files with 3755 additions and 44940 deletions

View File

@ -251,11 +251,13 @@ labelList getAllNonManifoldPoints
int main(int argc, char *argv[])
{
argList::validOptions.insert("split", "");
argList::validOptions.insert("overwrite", "");
# include "setRootCase.H"
# include "createTime.H"
# include "createMesh.H"
bool split = args.options().found("split");
bool overwrite = args.options().found("overwrite");
// Collect all boundary faces
labelList boundaryFaces(mesh.nFaces() - mesh.nInternalFaces());
@ -402,7 +404,10 @@ int main(int argc, char *argv[])
insertDuplicateMerge(mesh, duplicates, meshMod);
}
runTime++;
if (!overwrite)
{
runTime++;
}
// Change the mesh. No inflation.
autoPtr<mapPolyMesh> map = meshMod.changeMesh(mesh, false);