Abstract base-class for all rigid-body joints.
A list of keyword definitions, which are a keyword followed by any number of values (e...
spatialVector v
The constrained joint velocity.
spatialVector S1
The joint motion sub-space (1-DoF)
label qIndex_
Index of this joints data in the rigidBodyModel state.
defineTypeNameAndDebug(composite, 0)
addToRunTimeSelectionTable(joint, composite, dictionary)
spatialVector c
The constrained joint acceleration correction.
Macros for easy insertion into run-time selection tables.
Holds the motion state of rigid-body model.
Joint state returned by jcalc.
virtual void write(Ostream &) const
Write.
Ra(const rigidBodyModel &model, const vector &axis)
Construct for given model and axis.
const scalarField & q() const
Return access to the joint position and orientation.
SpatialVector< scalar > spatialVector
SpatialVector of scalars.
const scalarField & qDot() const
Return access to the joint velocity.
spatialTransform Xr(const vector &a, const scalar omega)
Rotational spatial transformation tensor about axis a by omega radians.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual autoPtr< joint > clone() const
Clone this joint.
List< spatialVector > S_
Joint motion sub-space.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
spatialTransform X
The joint transformation.
virtual void write(Ostream &) const
Write.
dimensioned< scalar > mag(const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
tensor Ra(const vector &a, const scalar omega)
Rotational transformation tensor about axis a by omega radians.
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual void jcalc(joint::XSvc &J, const rigidBodyModelState &state) const
Update the model state for this joint.