86 freePiston(
const freePiston&) =
delete;
89 void operator=(
const freePiston&) =
delete;
106 const fileName& systemName =
"system",
107 const fileName& constantName =
"constant",
127 virtual scalar
theta()
const;
const fileName & rootPath() const noexcept
The root path.
const fileName & caseName() const noexcept
The case name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
engineTime(const word &name, const fileName &rootPath, const fileName &caseName, const fileName &systemName="system", const fileName &constantName="constant", const fileName &dictName="engineGeometry")
Construct from objectRegistry arguments.
dimensionedScalar pistonPosition() const
Return current piston position.
A class for handling file names.
virtual ~freePiston()=default
Destructor.
virtual scalar theta() const
Return current engine time.
TypeName("freePiston")
Runtime type information.
virtual scalar deltaTheta() const
Return engine time increment.
virtual word unit() const
Return time unit.
A class for handling words, derived from Foam::string.
const word dictName("faMeshDefinition")
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.