Macros for easy insertion into run-time selection tables.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Specialisation of rigidBody to construct a cuboid given the mass and lengths of the sides.
virtual void write(Ostream &) const
Write.
virtual ~cuboid()
Destructor.
virtual autoPtr< rigidBody > clone() const
Return clone of this cuboid.
cuboid(const word &name, const scalar m, const vector &c, const vector &L)
Construct from name, mass, centre of mass and lengths of the sides.
A list of keyword definitions, which are a keyword followed by any number of values (e....
addToRunTimeSelectionTable(rigidBody, cuboid, dictionary)
defineTypeNameAndDebug(cuboid, 0)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.