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

Holds the motion state of rigid-body model. More...

Public Member Functions

 rigidBodyModelState (const rigidBodyModel &model)
 
 rigidBodyModelState (const rigidBodyModel &model, const dictionary &dict)
 
const scalarFieldq () const
 
const scalarFieldqDot () const
 
const scalarFieldqDdot () const
 
scalar t () const
 
scalar deltaT () const
 
scalarFieldq ()
 
scalarFieldqDot ()
 
scalarFieldqDdot ()
 
scalar & t ()
 
scalar & deltaT ()
 
void write (dictionary &dict) const
 
void write (Ostream &) const
 

Friends

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

Detailed Description

Holds the motion state of rigid-body model.

Source files

Definition at line 63 of file rigidBodyModelState.H.

Constructor & Destructor Documentation

◆ rigidBodyModelState() [1/2]

rigidBodyModelState ( const rigidBodyModel model)

Definition at line 27 of file rigidBodyModelState.C.

◆ rigidBodyModelState() [2/2]

rigidBodyModelState ( const rigidBodyModel model,
const dictionary dict 
)

Definition at line 40 of file rigidBodyModelState.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and rigidBodyModel::nDoF().

Here is the call graph for this function:

Member Function Documentation

◆ q() [1/2]

Foam::scalarField & q ( ) const
inline

Definition at line 23 of file rigidBodyModelStateI.H.

Referenced by rigidBodyModel::forwardDynamics(), and rigidBodyModel::forwardDynamicsCorrection().

Here is the caller graph for this function:

◆ qDot() [1/2]

Foam::scalarField & qDot ( ) const
inline

Definition at line 29 of file rigidBodyModelStateI.H.

Referenced by rigidBodyModel::forwardDynamics(), and rigidBodyModel::forwardDynamicsCorrection().

Here is the caller graph for this function:

◆ qDdot() [1/2]

Foam::scalarField & qDdot ( ) const
inline

Definition at line 35 of file rigidBodyModelStateI.H.

Referenced by rigidBodyMotion::forwardDynamics(), rigidBodyModel::forwardDynamics(), and rigidBodyModel::forwardDynamicsCorrection().

Here is the caller graph for this function:

◆ t() [1/2]

Foam::scalar & t ( ) const
inline

Definition at line 41 of file rigidBodyModelStateI.H.

Referenced by externalForce::restrain().

Here is the caller graph for this function:

◆ deltaT() [1/2]

Foam::scalar & deltaT ( ) const
inline

Definition at line 47 of file rigidBodyModelStateI.H.

◆ q() [2/2]

scalarField& q ( )
inline

◆ qDot() [2/2]

scalarField& qDot ( )
inline

◆ qDdot() [2/2]

scalarField& qDdot ( )
inline

◆ t() [2/2]

scalar& t ( )
inline

◆ deltaT() [2/2]

scalar& deltaT ( )
inline

◆ write() [1/2]

void write ( dictionary dict) const

Definition at line 26 of file rigidBodyModelStateIO.C.

References dict.

◆ write() [2/2]

void write ( Ostream os) const

Definition at line 36 of file rigidBodyModelStateIO.C.

References os().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator>>

Istream& operator>> ( Istream ,
rigidBodyModelState  
)
friend

◆ operator<<

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

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