Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Modules
Visualization
Commits
53789c93
Commit
53789c93
authored
Feb 27, 2018
by
Andrew Heather
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Consistency improvement for setting postProcessing directory name
parent
bc703b3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
src/runTimePostProcessing/scene.C
src/runTimePostProcessing/scene.C
+12
-4
No files found.
src/runTimePostProcessing/scene.C
View file @
53789c93
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015-201
7
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2015-201
8
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -390,9 +390,17 @@ void Foam::functionObjects::runTimePostPro::scene::saveImage
const
Time
&
runTime
=
obr_
.
time
();
fileName
prefix
(
Pstream
::
parRun
()
?
runTime
.
path
()
/
".."
/
"postProcessing"
/
name_
/
obr_
.
time
().
timeName
()
:
runTime
.
path
()
/
"postProcessing"
/
name_
/
obr_
.
time
().
timeName
());
const
fileName
relPath
(
functionObject
::
outputPrefix
/
name_
/
obr_
.
time
().
timeName
()
);
fileName
prefix
(
Pstream
::
parRun
()
?
runTime
.
path
()
/
".."
/
relPath
:
runTime
.
path
()
/
relPath
);
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