createEngineTime.H
Go to the documentation of this file.
1 Info<< "Create engine time\n" << endl;
2 
3 autoPtr<engineTime> runTimePtr
4 (
6  (
7  Time::controlDictName,
8  args.rootPath(),
9  args.caseName()
10  )
11 );
12 
13 engineTime& runTime = runTimePtr();
engineTime & runTime
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:531
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Info<< "Create engine time\"<< endl;autoPtr< engineTime > runTimePtr(engineTime::New(Time::controlDictName, args.rootPath(), args.caseName()))
const fileName & caseName() const noexcept
Return case name (parallel run) or global case (serial run)
Definition: argListI.H:62
const fileName & rootPath() const noexcept
Return root path.
Definition: argListI.H:56
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::argList args(argc, argv)