91 J.
X =
Xt(S_[0].l()*q[qIndex_]);
93 J.
v = S_[0]*qDot[qIndex_];
101 os.writeEntry(
"axis", S_[0].l());
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
Abstract base-class for all rigid-body joints.
Prismatic joint for translation along the specified arbitrary axis.
spatialTransform Xt(const vector &r)
Translational spatial transformation tensor for translation r.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
spatialVector v
The constrained joint velocity.
spatialVector S1
The joint motion sub-space (1-DoF)
defineTypeNameAndDebug(composite, 0)
addToRunTimeSelectionTable(joint, composite, dictionary)
Pa(const vector &axis)
Construct for given model and axis.
spatialVector c
The constrained joint acceleration correction.
Macros for easy insertion into run-time selection tables.
virtual void jcalc(joint::XSvc &J, const scalarField &q, const scalarField &qDot) const
Update the model state for this joint.
Joint state returned by jcalc.
virtual void write(Ostream &) const
Write.
SpatialVector< scalar > spatialVector
SpatialVector of scalars.
virtual autoPtr< joint > clone() const
Clone this joint.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
spatialTransform X
The joint transformation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
static constexpr const zero Zero
Global zero (0)