51 bodyIndex_(model.bodyIndex(
dict.lookup(
"body"))),
52 masterBodyIndex_(model.master(bodyIndex_)),
virtual const fileName & name() const
Return the name of the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class for defining restraints for rigid-body dynamics.
restraint(const word &name, const dictionary &dict, const rigidBodyModel &model)
Construct from the dict dictionary and Time.
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
virtual ~restraint()
Destructor.
const dictionary & coeffDict() const
Return access to coeffs.
virtual void write(Ostream &) const =0
Write.
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
defineRunTimeSelectionTable(rigidBody, dictionary)
defineTypeNameAndDebug(cuboid, 0)
word name(const bool)
Return a word representation of a bool.
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.