mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
remove override option since goes to constant anyway
This commit is contained in:
@ -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[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!overwrite)
|
|
||||||
{
|
|
||||||
runTime++;
|
|
||||||
}
|
|
||||||
|
|
||||||
polyMesh mesh
|
polyMesh mesh
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
|
|||||||
Reference in New Issue
Block a user