Skip to content
GitLab
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
f513f8be
Commit
f513f8be
authored
Mar 27, 2019
by
mattijs
Committed by
Andrew Heather
Mar 27, 2019
Browse files
ENH: extrudeMesh: -dict. See
#1253
parent
1561a469
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C
View file @
f513f8be
...
...
@@ -217,6 +217,7 @@ int main(int argc, char *argv[])
);
#include
"addRegionOption.H"
argList
::
addOption
(
"dict"
,
"file"
,
"Use alternative extrudeMeshDict"
);
#include
"setRootCase.H"
#include
"createTimeExtruded.H"
...
...
@@ -236,15 +237,19 @@ int main(int argc, char *argv[])
<<
runTimeExtruded
.
timeName
()
<<
nl
<<
endl
;
}
IOdictionary
dict
const
IOdictionary
dict
(
IOobject
IOobject
::
selectIO
(
"extrudeMeshDict"
,
runTimeExtruded
.
system
(),
runTimeExtruded
,
IOobject
::
MUST_READ_IF_MODIFIED
IOobject
(
"extrudeMeshDict"
,
runTimeExtruded
.
system
(),
runTimeExtruded
,
IOobject
::
MUST_READ_IF_MODIFIED
,
IOobject
::
NO_WRITE
),
args
.
opt
<
fileName
>
(
"dict"
,
""
)
)
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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