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
Modules
Visualization
Commits
e35ff65d
Commit
e35ff65d
authored
Dec 05, 2018
by
Mark Olesen
Browse files
STYLE: use globalPath() instead of path()/".." for parallel
parent
98184a9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runTimePostProcessing/scene.C
View file @
e35ff65d
...
...
@@ -389,16 +389,12 @@ void Foam::functionObjects::runTimePostPro::scene::saveImage
const
Time
&
runTime
=
obr_
.
time
();
const
fileName
re
lPath
const
fileName
p
re
fix
(
functionObject
::
outputPrefix
/
name_
/
obr_
.
time
().
timeName
()
);
fileName
prefix
(
Pstream
::
parRun
()
?
runTime
.
path
()
/
".."
/
relPath
:
runTime
.
path
()
/
relPath
runTime
.
globalPath
()
/
functionObject
::
outputPrefix
/
name_
/
runTime
.
timeName
()
);
mkDir
(
prefix
);
...
...
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