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