Go to the documentation of this file.
37 namespace sixDoFRigidBodyMotionConstraints
43 sixDoFRigidBodyMotionConstraint,
80 CofR = centreOfRotation_;
107 centreOfRotation_ = sDoFRBMCCoeffs_.getOrDefault
110 motion_.initialCentreOfMass()
122 os.
writeEntry(
"centreOfRotation", centreOfRotation_);
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
Accumulates point constraints through successive applications of the applyConstraint function.
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
Base class for defining constraints for sixDoF motions.
virtual ~point()
Destructor.
addToRunTimeSelectionTable(sixDoFRigidBodyMotionConstraint, axis, dictionary)
point(const word &name, const dictionary &sDoFRBMCDict, const sixDoFRigidBodyMotion &motion)
Construct from components.
virtual void write(Ostream &) const
Write.
virtual void setCentreOfRotation(Foam::point &) const
Set the centre of rotation to the point.
word name(const complex &c)
Return string representation of complex.
void combine(const pointConstraint &)
Combine constraints.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.
Macros for easy insertion into run-time selection tables.
Six degree of freedom motion for a rigid body.
virtual bool read(const dictionary &sDoFRBMCDict)
Update properties from given dictionary.
defineTypeNameAndDebug(axis, 0)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.