34 namespace sixDoFRigidBodyMotionConstraints
77 CofR = centreOfRotation_;
104 centreOfRotation_ = sDoFRBMCCoeffs_.lookupOrDefault
107 motion_.initialCentreOfMass()
119 writeEntry(os,
"centreOfRotation", centreOfRotation_);
Macros for easy insertion into run-time selection tables.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Accumulates point constraints through successive applications of the applyConstraint function.
void combine(const pointConstraint &)
Combine constraints.
Base class for defining constraints for sixDoF motions.
virtual bool read(const dictionary &sDoFRBMCDict)
Update properties from given dictionary.
Translation constraint on the centre of rotation: fixed in space.
virtual ~point()
Destructor.
virtual void setCentreOfRotation(Foam::point &) const
Set the centre of rotation to the point.
virtual void write(Ostream &) const
Write.
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
point(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from components.
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
Six degree of freedom motion for a rigid body.
A class for handling words, derived from string.
defineTypeNameAndDebug(axis, 0)
addToRunTimeSelectionTable(sixDoFRigidBodyMotionConstraint, axis, dictionary)
word name(const bool)
Return a word representation of a bool.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)