Public Member Functions | List of all members
null Class Reference

Null joint for the root-body. More...

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

Public Member Functions

 TypeName ("null")
 
 null ()
 
 null (const dictionary &dict)
 
virtual autoPtr< jointclone () const
 
virtual ~null ()
 
virtual void jcalc (joint::XSvc &J, const scalarField &q, const scalarField &qDot) const
 
- Public Member Functions inherited from joint
 TypeName ("joint")
 
 declareRunTimeSelectionTable (autoPtr, joint, dictionary,(const dictionary &dict),(dict))
 
 joint (const label nDoF)
 
virtual ~joint ()
 
label nDoF () const
 
virtual bool unitQuaternion () const
 
label index () const
 
label qIndex () const
 
const List< spatialVector > & S () const
 
virtual void write (Ostream &) const
 
quaternion unitQuaternion (const scalarField &q) const
 
void unitQuaternion (const quaternion &quat, scalarField &q) const
 

Additional Inherited Members

- Static Public Member Functions inherited from joint
static autoPtr< jointNew (joint *jointPtr)
 
static autoPtr< jointNew (const dictionary &dict)
 
- Protected Attributes inherited from joint
List< spatialVectorS_
 
label index_
 
label qIndex_
 

Detailed Description

Null joint for the root-body.

Reference:

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

Definition at line 61 of file nullJoint.H.

Constructor & Destructor Documentation

◆ null() [1/2]

null ( )

Definition at line 48 of file nullJoint.C.

◆ null() [2/2]

null ( const dictionary dict)

Definition at line 54 of file nullJoint.C.

◆ ~null()

~null ( )
virtual

Definition at line 68 of file nullJoint.C.

Member Function Documentation

◆ TypeName()

TypeName ( "null"  )

◆ clone()

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

Implements joint.

Definition at line 60 of file nullJoint.C.

◆ jcalc()

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

Implements joint.

Definition at line 75 of file nullJoint.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

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