49 const rigidBodyModel& model
54 bodyIndex_(model.master(bodyID_)),
83 os.writeEntry(
"type",
type());
84 os.writeEntry(
"body", model_.name(bodyID_));
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
restraint(const word &name, const dictionary &dict, const rigidBodyModel &model)
Construct from the dict dictionary and Time.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
defineTypeNameAndDebug(cuboid, 0)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
defineRunTimeSelectionTable(rigidBody, dictionary)
virtual ~restraint()
Destructor.
const dictionary & coeffDict() const
Return access to coeffs.
virtual void write(Ostream &) const =0
Write.