58#ifndef prescribedRotation_H
59#define prescribedRotation_H
77class prescribedRotation
90 autoPtr<Function1<vector>> omegaSet_;
105 mutable vector integral0_;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class for defining restraints for rigid-body dynamics.
const word & name() const
Return the name.
Restraint setting angular velocity of the rigid body. Developed from the linear axial angular spring ...
virtual ~prescribedRotation()
Destructor.
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
virtual void restrain(scalarField &tau, Field< spatialVector > &fx, const rigidBodyModelState &state) const
Accumulate the retraint internal joint forces into the tau field and.
virtual autoPtr< restraint > clone() const
Construct and return a clone.
TypeName("prescribedRotation")
Runtime type information.
Holds the motion state of rigid-body model.
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Tensor of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.