Holds the motion state of rigid-body model. More...
Public Member Functions | |
rigidBodyModelState (const rigidBodyModel &model) | |
Construct for the given rigidBodyModel. More... | |
rigidBodyModelState (const rigidBodyModel &model, const dictionary &dict) | |
Construct from dictionary for the given rigidBodyModel. More... | |
const scalarField & | q () const |
Return access to the joint position and orientation. More... | |
const scalarField & | qDot () const |
Return access to the joint velocity. More... | |
const scalarField & | qDdot () const |
Return access to the joint acceleration. More... | |
scalar | t () const |
Return access to the time. More... | |
scalar | deltaT () const |
Return access to the time-step. More... | |
scalarField & | q () |
Return access to the joint position and orientation. More... | |
scalarField & | qDot () |
Return access to the joint velocity. More... | |
scalarField & | qDdot () |
Return access to the joint acceleration. More... | |
scalar & | t () |
Return access to the time. More... | |
scalar & | deltaT () |
Return access to the time-step. More... | |
void | write (dictionary &dict) const |
Write to dictionary. More... | |
void | write (Ostream &) const |
Write to stream. More... | |
Friends | |
Istream & | operator>> (Istream &, rigidBodyModelState &) |
Ostream & | operator<< (Ostream &, const rigidBodyModelState &) |
Holds the motion state of rigid-body model.
Definition at line 65 of file rigidBodyModelState.H.
rigidBodyModelState | ( | const rigidBodyModel & | model | ) |
Construct for the given rigidBodyModel.
Definition at line 31 of file rigidBodyModelState.C.
rigidBodyModelState | ( | const rigidBodyModel & | model, |
const dictionary & | dict | ||
) |
Construct from dictionary for the given rigidBodyModel.
Definition at line 44 of file rigidBodyModelState.C.
|
inline |
Return access to the joint position and orientation.
Definition at line 28 of file rigidBodyModelStateI.H.
Referenced by rigidBodyModel::forwardDynamics(), Pxyz::jcalc(), Rx::jcalc(), Ra::jcalc(), Py::jcalc(), Rz::jcalc(), Ry::jcalc(), Pa::jcalc(), Pz::jcalc(), Px::jcalc(), Ryxz::jcalc(), Rzyx::jcalc(), Rxyz::jcalc(), Rs::jcalc(), function::jcalc(), rigidBodySolver::q(), and rigidBodySolver::q0().
|
inline |
Return access to the joint velocity.
Definition at line 34 of file rigidBodyModelStateI.H.
Referenced by rigidBodyModel::forwardDynamics(), Pa::jcalc(), Px::jcalc(), Ra::jcalc(), Pxyz::jcalc(), Rz::jcalc(), Rx::jcalc(), Py::jcalc(), Ry::jcalc(), Pz::jcalc(), Ryxz::jcalc(), Rzyx::jcalc(), Rxyz::jcalc(), Rs::jcalc(), functionDot::jcalc(), function::jcalc(), rigidBodySolver::qDot(), and rigidBodySolver::qDot0().
|
inline |
Return access to the joint acceleration.
Definition at line 40 of file rigidBodyModelStateI.H.
Referenced by rigidBodyMotion::forwardDynamics(), rigidBodyModel::forwardDynamics(), rigidBodyModel::forwardDynamicsCorrection(), functionDot::jcalc(), function::jcalc(), rigidBodySolver::qDdot(), and rigidBodySolver::qDdot0().
|
inline |
Return access to the time.
Definition at line 46 of file rigidBodyModelStateI.H.
Referenced by rigidBodyMotion::solve().
|
inline |
Return access to the time-step.
Definition at line 52 of file rigidBodyModelStateI.H.
Referenced by rigidBodySolver::deltaT(), rigidBodySolver::deltaT0(), and rigidBodyMotion::solve().
|
inline |
Return access to the joint position and orientation.
Definition at line 58 of file rigidBodyModelStateI.H.
|
inline |
Return access to the joint velocity.
Definition at line 64 of file rigidBodyModelStateI.H.
|
inline |
Return access to the joint acceleration.
Definition at line 70 of file rigidBodyModelStateI.H.
|
inline |
Return access to the time.
Definition at line 82 of file rigidBodyModelStateI.H.
|
inline |
Return access to the time-step.
Definition at line 76 of file rigidBodyModelStateI.H.
void write | ( | dictionary & | dict | ) | const |
Write to dictionary.
Definition at line 31 of file rigidBodyModelStateIO.C.
References dictionary::add().
Referenced by rigidBodyMeshMotionSolver::write(), and rigidBodyMeshMotion::write().
void write | ( | Ostream & | os | ) | const |
Write to stream.
Definition at line 41 of file rigidBodyModelStateIO.C.
References Foam::writeEntry().
|
friend |
|
friend |