37namespace sixDoFRigidBodyMotionConstraints
79 CofR = centreOfRotation_;
106 centreOfRotation_ = sDoFRBMCCoeffs_.getOrDefault
109 motion_.initialCentreOfMass()
112 sDoFRBMCCoeffs_.readEntry(
"normal", normal_);
123 os.writeEntry(
"centreOfRotation", centreOfRotation_);
124 os.writeEntry(
"normal", normal_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool read()
Re-read model coefficients if they have changed.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Extrudes by transforming points normal to the surface by 1 layer over a given distance.
virtual bool write()
Write the output fields.
Accumulates point constraints through successive applications of the applyConstraint function.
void applyConstraint(const vector &cd)
Apply and accumulate the effect of the given constraint direction.
Base class for defining constraints for sixDoF motions.
Translation constraint on the centre of rotation: may only move on a plane.
virtual void setCentreOfRotation(point &) const
Set the centre of rotation to the projection of the.
virtual ~plane()
Destructor.
virtual void constrainRotation(pointConstraint &) const
Apply and accumulate rotational constraints.
virtual bool read(const dictionary &sDoFRBMCCoeff)
Update properties from given dictionary.
virtual void constrainTranslation(pointConstraint &) const
Apply and accumulate translational constraints.
Translation constraint on the centre of rotation: fixed in space.
Six degree of freedom motion for a rigid body.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.