53 #ifndef crankConnectingRodMotion_H
54 #define crankConnectingRodMotion_H
76 const scalar conRodLength_;
85 TypeName(
"crankConnectingRodMotion");
115 virtual inline scalar
value(
const scalar theta)
const;
Run-time selectable general function of one variable.
const word & name() const
Return the name of the entry.
Crank and connecting-rod motion function for piston engines etc.
virtual tmp< Function1< scalar > > clone() const
Construct and return a clone.
virtual scalar value(const scalar theta) const
Return position for crank-angle theta in deg.
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
void operator=(const crankConnectingRodMotion &)=delete
Disallow default bitwise assignment.
TypeName("crankConnectingRodMotion")
virtual ~crankConnectingRodMotion()
Destructor.
crankConnectingRodMotion(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual scalar integral(const scalar, const scalar) const
Not implemented.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
A class for handling words, derived from string.
const HashTable< unitConversion > & units()
Get the table of unit conversions.