Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
c647881d
Commit
c647881d
authored
Aug 06, 2008
by
Mattijs Janssens
Browse files
remove override option since goes to constant anyway
parent
2734e777
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/conversion/netgenNeutralToFoam/netgenNeutralToFoam.C
View file @
c647881d
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment