Public Member Functions | Friends | List of all members
sixDoFRigidBodyMotionState Class Reference

Holds the motion state of sixDoF object. Wrapped up together to allow rapid scatter to other processors. The processors must all maintain exactly the same state data to avoid any drift or inconsistency. More...

Public Member Functions

 sixDoFRigidBodyMotionState ()
 
 sixDoFRigidBodyMotionState (const dictionary &dict)
 
const pointcentreOfRotation () const
 
const tensorQ () const
 
const vectorv () const
 
const vectora () const
 
const vectorpi () const
 
const vectortau () const
 
pointcentreOfRotation ()
 
tensorQ ()
 
vectorv ()
 
vectora ()
 
vectorpi ()
 
vectortau ()
 
void write (dictionary &dict) const
 
void write (Ostream &os) const
 

Friends

Istreamoperator>> (Istream &, sixDoFRigidBodyMotionState &)
 
Ostreamoperator<< (Ostream &, const sixDoFRigidBodyMotionState &)
 

Detailed Description

Holds the motion state of sixDoF object. Wrapped up together to allow rapid scatter to other processors. The processors must all maintain exactly the same state data to avoid any drift or inconsistency.

Source files

Definition at line 63 of file sixDoFRigidBodyMotionState.H.

Constructor & Destructor Documentation

◆ sixDoFRigidBodyMotionState() [1/2]

Definition at line 26 of file sixDoFRigidBodyMotionState.C.

◆ sixDoFRigidBodyMotionState() [2/2]

Definition at line 38 of file sixDoFRigidBodyMotionState.C.

Member Function Documentation

◆ centreOfRotation() [1/2]

Foam::point & centreOfRotation ( ) const
inline

Definition at line 24 of file sixDoFRigidBodyMotionStateI.H.

Referenced by sixDoFSolver::centreOfRotation().

Here is the caller graph for this function:

◆ Q() [1/2]

Foam::tensor & Q ( ) const
inline

Definition at line 30 of file sixDoFRigidBodyMotionStateI.H.

◆ v() [1/2]

Foam::vector & v ( ) const
inline

Definition at line 36 of file sixDoFRigidBodyMotionStateI.H.

◆ a() [1/2]

Foam::vector & a ( ) const
inline

Definition at line 42 of file sixDoFRigidBodyMotionStateI.H.

◆ pi() [1/2]

Foam::vector & pi ( ) const
inline

Definition at line 48 of file sixDoFRigidBodyMotionStateI.H.

◆ tau() [1/2]

Foam::vector & tau ( ) const
inline

Definition at line 54 of file sixDoFRigidBodyMotionStateI.H.

◆ centreOfRotation() [2/2]

point& centreOfRotation ( )
inline

◆ Q() [2/2]

tensor& Q ( )
inline

◆ v() [2/2]

vector& v ( )
inline

◆ a() [2/2]

vector& a ( )
inline

◆ pi() [2/2]

vector& pi ( )
inline

◆ tau() [2/2]

vector& tau ( )
inline

◆ write() [1/2]

void write ( dictionary dict) const

Definition at line 26 of file sixDoFRigidBodyMotionStateIO.C.

References dict.

◆ write() [2/2]

void write ( Ostream os) const

Definition at line 37 of file sixDoFRigidBodyMotionStateIO.C.

References os(), and Ostream::writeEntry().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator>>

Istream& operator>> ( Istream ,
sixDoFRigidBodyMotionState  
)
friend

◆ operator<<

Ostream& operator<< ( Ostream ,
const sixDoFRigidBodyMotionState  
)
friend

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