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 sphere given the mass and radius.
virtual ~sphere()
Destructor.
virtual void write(Ostream &) const
Write.
sphere(const word &name, const scalar m, const vector &c, const scalar r)
Construct from name, mass, centre of mass and radius.
virtual autoPtr< rigidBody > clone() const
Return clone of this sphere.
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.