Commit e35ff65d authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: use globalPath() instead of path()/".." for parallel

parent 98184a9b
...@@ -389,16 +389,12 @@ void Foam::functionObjects::runTimePostPro::scene::saveImage ...@@ -389,16 +389,12 @@ void Foam::functionObjects::runTimePostPro::scene::saveImage
const Time& runTime = obr_.time(); const Time& runTime = obr_.time();
const fileName relPath const fileName prefix
( (
functionObject::outputPrefix/name_/obr_.time().timeName() runTime.globalPath()
); / functionObject::outputPrefix
/ name_
fileName prefix / runTime.timeName()
(
Pstream::parRun() ?
runTime.path()/".."/relPath
: runTime.path()/relPath
); );
mkDir(prefix); mkDir(prefix);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment