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();
runTime
engineTime & runTime
Definition: createEngineTime.H:13
Foam::argList::caseName
const fileName & caseName() const noexcept
Return case name (parallel run) or global case (serial run)
Definition: argListI.H:69
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:369
runTimePtr
Info<< "Create engine time\n"<< endl;autoPtr< engineTime > runTimePtr(engineTime::New(Time::controlDictName, args.rootPath(), args.caseName()))
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::New
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Definition: DimensionedFieldReuseFunctions.H:105
args
Foam::argList args(argc, argv)
Foam::argList::rootPath
const fileName & rootPath() const noexcept
Return root path.
Definition: argListI.H:63