Abstract base-class for all rigid-body joints. More...
Classes | |
class | iNew |
class | XSvc |
Public Member Functions | |
TypeName ("joint") | |
declareRunTimeSelectionTable (autoPtr, joint, dictionary,(const dictionary &dict),(dict)) | |
joint (const label nDoF) | |
virtual autoPtr< joint > | clone () const =0 |
virtual | ~joint () |
label | nDoF () const |
virtual bool | unitQuaternion () const |
label | index () const |
label | qIndex () const |
const List< spatialVector > & | S () const |
virtual void | jcalc (XSvc &J, const scalarField &q, const scalarField &qDot) const =0 |
virtual void | write (Ostream &) const |
quaternion | unitQuaternion (const scalarField &q) const |
void | unitQuaternion (const quaternion &quat, scalarField &q) const |
Static Public Member Functions | |
static autoPtr< joint > | New (joint *jointPtr) |
static autoPtr< joint > | New (const dictionary &dict) |
Protected Attributes | |
List< spatialVector > | S_ |
label | index_ |
label | qIndex_ |
Friends | |
class | rigidBodyModel |
Ostream & | operator<< (Ostream &, const joint &) |
Abstract base-class for all rigid-body joints.
Featherstone, R. (2008). Rigid body dynamics algorithms. Springer. Chapter 4.
TypeName | ( | "joint" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
joint | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
static |
Definition at line 39 of file joint.C.
Referenced by rigidBodyModel::rigidBodyModel().
|
static |
Definition at line 46 of file joint.C.
References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInLookup.
|
inline |
Definition at line 33 of file jointI.H.
Referenced by rigidBodyModel::forwardDynamics(), rigidBodyModel::forwardDynamicsCorrection(), and rigidBodyModel::join_().
|
inlinevirtual |
Reimplemented in Rs.
Definition at line 38 of file jointI.H.
Referenced by Rs::jcalc(), and rigidBodyModel::join_().
|
inline |
|
inline |
|
inline |
|
pure virtual |
|
virtual |
Reimplemented in composite, Pa, Ra, and floating.
Definition at line 77 of file joint.C.
References os(), and Foam::type().
Referenced by Foam::RBD::operator<<(), floating::write(), Pa::write(), Ra::write(), and composite::write().
|
inline |
Definition at line 62 of file jointI.H.
References Foam::abort(), Field::block(), Foam::FatalError, FatalErrorInFunction, and quaternion::unit().
|
inline |
Definition at line 78 of file jointI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, quaternion::v(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
friend |
|
protected |
Definition at line 89 of file joint.H.
Referenced by Pa::Pa(), Px::Px(), Pxyz::Pxyz(), Py::Py(), Pz::Pz(), Ra::Ra(), Rs::Rs(), Rx::Rx(), Rxyz::Rxyz(), Ry::Ry(), Ryxz::Ryxz(), Rz::Rz(), and Rzyx::Rzyx().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.