Public Member Functions | List of all members
Py Class Reference

Prismatic joint for translation along the y-axis. More...

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

Public Member Functions

 TypeName ("Py")
 
 Py ()
 
 Py (const dictionary &dict)
 
virtual autoPtr< jointclone () const
 
virtual ~Py ()
 
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

Prismatic joint for translation along the y-axis.

Reference:

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

Definition at line 61 of file Py.H.

Constructor & Destructor Documentation

◆ Py() [1/2]

Py ( )

Definition at line 48 of file Py.C.

References joint::S_.

◆ Py() [2/2]

Py ( const dictionary dict)

Definition at line 56 of file Py.C.

References joint::S_.

◆ ~Py()

~Py ( )
virtual

Definition at line 72 of file Py.C.

Member Function Documentation

◆ TypeName()

TypeName ( "Py"  )

◆ clone()

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

Implements joint.

Definition at line 64 of file Py.C.

◆ jcalc()

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

Implements joint.

Definition at line 79 of file Py.C.

References joint::XSvc::c, joint::XSvc::S1, joint::XSvc::v, joint::XSvc::X, Foam::Xt(), and Foam::Zero.

Here is the call graph for this function:

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