Commit c647881d authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

remove override option since goes to constant anyway

parent 2734e777
...@@ -89,13 +89,11 @@ using namespace Foam; ...@@ -89,13 +89,11 @@ using namespace Foam;
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
argList::validArgs.append("Neutral file"); argList::validArgs.append("Neutral file");
argList::validOptions.insert("overwrite", "");
# include "setRootCase.H" # include "setRootCase.H"
# include "createTime.H" # include "createTime.H"
fileName neuFile(args.additionalArgs()[0]); fileName neuFile(args.additionalArgs()[0]);
bool overwrite = args.options().found("overwrite");
IFstream str(neuFile); IFstream str(neuFile);
...@@ -300,11 +298,6 @@ int main(int argc, char *argv[]) ...@@ -300,11 +298,6 @@ int main(int argc, char *argv[])
} }
if (!overwrite)
{
runTime++;
}
polyMesh mesh polyMesh mesh
( (
IOobject IOobject
......
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