OpenFOAM: API Guide
v2006
The open source CFD toolbox
createEngineTime.H
Go to the documentation of this file.
1
Info
<<
"Create engine time\n"
<<
endl
;
2
3
autoPtr<engineTime>
runTimePtr
4
(
5
engineTime::New
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::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:350
Foam::argList::rootPath
const fileName & rootPath() const
Return root path.
Definition:
argListI.H:63
runTimePtr
Info<< "Create engine time\n"<< endl;autoPtr< engineTime > runTimePtr(engineTime::New(Time::controlDictName, args.rootPath(), args.caseName()))
Foam::Info
messageStream Info
Information stream (uses stdout - output is on the master only)
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
Foam::argList::caseName
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
Definition:
argListI.H:69
args
Foam::argList args(argc, argv)
src
engine
include
createEngineTime.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.