Public Member Functions | List of all members
Rzyx Class Reference

Spherical joint for rotation about the x/y/z-axes using Euler-angles in the order z, y, x. More...

Inheritance diagram for Rzyx:
Inheritance graph
[legend]
Collaboration diagram for Rzyx:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("Rzyx")
 Runtime type information. More...
 
 Rzyx ()
 Construct for given model. More...
 
 Rzyx (const dictionary &dict)
 Construct for given model from dictionary. More...
 
virtual autoPtr< jointclone () const
 Clone this joint. More...
 
virtual ~Rzyx ()
 Destructor. More...
 
virtual void jcalc (joint::XSvc &J, const scalarField &q, const scalarField &qDot) const
 Update the model state for this joint. More...
 
- Public Member Functions inherited from joint
 TypeName ("joint")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, joint, dictionary,(const dictionary &dict),(dict))
 
 joint (const label nDoF)
 Construct joint setting the size of the motion sub-space. More...
 
virtual ~joint ()
 Destructor. More...
 
label nDoF () const
 Return the number of degrees of freedom in this joint. More...
 
virtual bool unitQuaternion () const
 Return true if this joint describes rotation using a quaternion. More...
 
label index () const
 Return the index of this joint in the model. More...
 
label qIndex () const
 Return start index for the state variables for this joint. More...
 
const List< spatialVector > & S () const
 Return the joint motion sub-space. More...
 
virtual void write (Ostream &) const
 Write. More...
 
quaternion unitQuaternion (const scalarField &q) const
 Return the unit quaternion for this joint. More...
 
void unitQuaternion (const quaternion &quat, scalarField &q) const
 Set the unit quaternion for this joint. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from joint
static autoPtr< jointNew (joint *jointPtr)
 Simple selector to return an autoPtr<joint> of the given joint*. More...
 
static autoPtr< jointNew (const dictionary &dict)
 Select from dictionary. More...
 
- Protected Attributes inherited from joint
List< spatialVectorS_
 Joint motion sub-space. More...
 
label index_
 Index of this joint in the rigidBodyModel. More...
 
label qIndex_
 Index of this joints data in the rigidBodyModel state. More...
 

Detailed Description

Spherical joint for rotation about the x/y/z-axes using Euler-angles in the order z, y, x.

Reference:

    Featherstone, R. (2008).
    Rigid body dynamics algorithms.
    Springer.
    Chapter 4.
Source files

Definition at line 61 of file Rzyx.H.

Constructor & Destructor Documentation

Rzyx ( )

Construct for given model.

Definition at line 53 of file Rzyx.C.

References joint::S_.

Referenced by Rzyx::clone().

Here is the caller graph for this function:

Rzyx ( const dictionary dict)

Construct for given model from dictionary.

Definition at line 63 of file Rzyx.C.

References joint::S_.

~Rzyx ( )
virtual

Destructor.

Definition at line 81 of file Rzyx.C.

References Rzyx::jcalc().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "Rzyx"  )

Runtime type information.

Foam::autoPtr< Foam::RBD::joint > clone ( ) const
virtual

Clone this joint.

Implements joint.

Definition at line 73 of file Rzyx.C.

References Rzyx::Rzyx().

Here is the call graph for this function:

void jcalc ( joint::XSvc J,
const scalarField q,
const scalarField qDot 
) const
virtual

The documentation for this class was generated from the following files: