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