Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
3328ec31
Commit
3328ec31
authored
Jul 05, 2018
by
mattijs
Committed by
Mark Olesen
Jul 05, 2018
Browse files
ENH: consistency in handling of ensight timeDir (issue
#919
)
parent
f72fb23d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sampling/sampledSurface/writers/ensight/ensightSurfaceWriter.C
View file @
3328ec31
...
...
@@ -142,7 +142,10 @@ void Foam::ensightSurfaceWriter::updateMesh
const
fileName
baseDir
=
outputDir
.
path
()
/
surfName
;
const
fileName
timeDir
=
outputDir
.
name
();
const
scalar
timeValue
=
readScalar
(
timeDir
);
// Convert timeDir to a value (if possible - use 0.0 otherwise)
scalar
timeValue
=
0
.
0
;
readScalar
(
timeDir
,
timeValue
);
if
(
!
isDir
(
baseDir
))
{
...
...
Write
Preview
Markdown
is supported
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