Six degree of freedom motion for a rigid body.
virtual autoPtr< sixDoFRigidBodyMotionRestraint > clone() const
Construct and return a clone.
virtual void write(Ostream &) const
Write.
Base class for defining restraints for sixDoF motions.
sixDoFRigidBodyMotionRestraints model. Spherical angular spring.
virtual bool read(const dictionary &sDoFRBMRCoeff)
Update properties from given dictionary.
virtual ~sphericalAngularSpring()
Destructor.
sphericalAngularSpring(const word &name, const dictionary &sDoFRBMRDict)
Construct from components.
TypeName("sphericalAngularSpring")
Runtime type information.
virtual void restrain(const sixDoFRigidBodyMotion &motion, vector &restraintPosition, vector &restraintForce, vector &restraintMoment) const
Calculate the restraint position, force and moment.
const word & name() const
Return the name.