36 #ifndef tabulatedAxialAngularSpring_H 37 #define tabulatedAxialAngularSpring_H 49 namespace sixDoFRigidBodyMotionRestraints
74 bool convertToDegrees_;
83 TypeName(
"tabulatedAxialAngularSpring");
116 vector& restraintPosition,
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
Base class for defining restraints for sixDoF motions.
sixDoFRigidBodyMotionRestraints model. Axial angular spring with moment values drawn from an interpol...
A list of keyword definitions, which are a keyword followed by any number of values (e...
tabulatedAxialAngularSpring(const word &name, const dictionary &sDoFRBMRDict)
Construct from components.
TypeName("tabulatedAxialAngularSpring")
Runtime type information.
virtual void restrain(const sixDoFRigidBodyMotion &motion, vector &restraintPosition, vector &restraintForce, vector &restraintMoment) const
Calculate the restraint position, force and moment.
virtual bool read(const dictionary &sDoFRBMRCoeff)
Update properties from given dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~tabulatedAxialAngularSpring()
Destructor.
Six degree of freedom motion for a rigid body.
const word & name() const
Return the name.
virtual autoPtr< sixDoFRigidBodyMotionRestraint > clone() const
Construct and return a clone.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...