Six degree of freedom motion for a rigid body.
dictionary sDoFRBMRCoeffs_
Restraint model specific coefficient dictionary.
const dictionary & coeffDict() const
Base class for defining restraints for sixDoF motions.
virtual autoPtr< sixDoFRigidBodyMotionRestraint > clone() const =0
Construct and return a clone.
virtual void restrain(const sixDoFRigidBodyMotion &motion, vector &restraintPosition, vector &restraintForce, vector &restraintMoment) const =0
Calculate the restraint position, force and moment.
virtual bool read(const dictionary &sDoFRBMRDict)
Update properties from given dictionary.
sixDoFRigidBodyMotionRestraint(const word &name, const dictionary &sDoFRBMRDict)
Construct from the sDoFRBMRDict dictionary and Time.
static autoPtr< sixDoFRigidBodyMotionRestraint > New(const word &name, const dictionary &sDoFRBMRDict)
Select constructed from the sDoFRBMRDict dictionary and Time.
const word & name() const
Return the name.
virtual void write(Ostream &) const =0
Write.
TypeName("sixDoFRigidBodyMotionRestraint")
Runtime type information.
virtual ~sixDoFRigidBodyMotionRestraint()
Destructor.
declareRunTimeSelectionTable(autoPtr, sixDoFRigidBodyMotionRestraint, dictionary,(const word &name, const dictionary &sDoFRBMRDict),(name, sDoFRBMRDict))