Public Member Functions | List of all members
floating Class Reference

Prismatic joint for translation along the specified arbitrary axis. More...

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

Public Member Functions

 TypeName ("floating")
 
 floating ()
 
 floating (const dictionary &dict)
 
virtual autoPtr< jointclone () const
 
virtual ~floating ()=default
 
virtual void write (Ostream &) const
 
- Public Member Functions inherited from composite
 TypeName ("composite")
 
 composite (const PtrList< joint > &joints)
 
 composite (const dictionary &dict)
 
virtual ~composite ()
 
virtual void jcalc (joint::XSvc &J, const scalarField &q, const scalarField &qDot) const
 
- Public Member Functions inherited from PtrList< joint >
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (const PtrList< T > &list, const CloneArg &cloneArgs)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
 PtrList (Istream &is, const INew &inew)
 
 PtrList (Istream &is)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (Istream &is)
 
 ~PtrList ()
 
PtrList< Tclone (Args &&... args) const
 
Foam::PtrList< Tclone (Args &&... args) const
 
const Tset (const label i) const
 
autoPtr< Tset (const label i, T *ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &&ptr)
 
autoPtr< Tset (const label i, std::unique_ptr< T > &&ptr)
 
autoPtr< Tset (const label i, const refPtr< T > &ptr)
 
autoPtr< Tset (const label i, const tmp< T > &ptr)
 
void clear ()
 
void resize (const label newLen)
 
void setSize (const label newLen)
 
void emplace_append (Args &&... args)
 
void append (T *ptr)
 
void append (autoPtr< T > &ptr)
 
void append (autoPtr< T > &&ptr)
 
void append (std::unique_ptr< T > &&ptr)
 
void append (const refPtr< T > &ptr)
 
void append (const tmp< T > &ptr)
 
autoPtr< Templace (const label i, Args &&... args)
 
Foam::autoPtr< Templace (const label i, Args &&... args)
 
autoPtr< Trelease (const label i)
 
void transfer (PtrList< T > &list)
 
void operator= (const PtrList< T > &list)
 
void operator= (PtrList< T > &&list)
 
- 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
 
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 Member Functions inherited from PtrList< joint >
void readIstream (Istream &is, const INew &inew)
 
void free ()
 
- Protected Attributes inherited from joint
List< spatialVectorS_
 
label index_
 
label qIndex_
 

Detailed Description

Prismatic joint for translation along the specified arbitrary axis.

Reference:

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

Definition at line 61 of file floatingJoint.H.

Constructor & Destructor Documentation

◆ floating() [1/2]

floating ( )

Definition at line 70 of file floatingJoint.C.

◆ floating() [2/2]

floating ( const dictionary dict)

Definition at line 76 of file floatingJoint.C.

◆ ~floating()

virtual ~floating ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "floating"  )

◆ clone()

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

Reimplemented from composite.

Definition at line 82 of file floatingJoint.C.

◆ write()

void write ( Ostream os) const
virtual

Reimplemented from composite.

Definition at line 90 of file floatingJoint.C.

References os(), and joint::write().

Here is the call graph for this function:

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