mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide Time::NewGlobalTime factory methods (#3007)
- avoids clutter of argList::envGlobalPath() ... ENH: allow temporary overwriting of output writeFormat - allows switching for particular output routines COMP: explicitly use TimePaths methods with Time - this simplifies any overloading done at a later stage
This commit is contained in:
@ -454,7 +454,7 @@ void Foam::faMeshReconstructor::createMesh()
|
||||
const Time& runTime = procMesh_.thisDb().time();
|
||||
|
||||
// Time for non-parallel case (w/o functionObjects or libs)
|
||||
serialRunTime_ = Time::New(runTime.globalPath().toAbsolute());
|
||||
serialRunTime_ = Time::NewGlobalTime(runTime);
|
||||
|
||||
|
||||
// Trivial polyMesh only containing points and faces.
|
||||
|
||||
Reference in New Issue
Block a user