addToRunTimeSelectionTable(rigidBody, cuboid, dictionary)
Macros for easy insertion into run-time selection tables.
virtual ~cuboid()
Destructor.
Specialisation of rigidBody to construct a cuboid given the mass and lengths of the sides...
defineTypeNameAndDebug(cuboid, 0)
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual autoPtr< rigidBody > clone() const
Return clone of this cuboid.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.