opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
libopynsim
model_state_stage.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
opyn
4
{
5
// Represents a stage of state realization. A `ModelState` advances
6
// through each `ModelStateStage` in sequential order until it is
7
// fully realized.
8
//
9
// Related: https://simtk.org/api_docs/molmodel/api_docs22/Simbody/html/classSimTK_1_1Stage.html
10
// Related: https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53089017/SimTK+Simulation+Concepts
11
enum class
ModelStateStage
{
12
13
// The topology of the physics system has been realized.
14
topology
= 0,
15
16
// Modelling choices have been made.
17
model
,
18
19
// Physical parameters have been set.
20
instance
,
21
22
// Time has advanced and state variables have new values, but no derived information has been calculated.
23
time
,
24
25
// The spatial positions of all bodies are known.
26
position
,
27
28
// The spatial velocities of all bodies are known.
29
velocity
,
30
31
// The force acting on each body is known, along with total kinetic/potential energy.
32
dynamics
,
33
34
// The time derivatives of all continuous state variables known.
35
acceleration
,
36
37
// Additional variables useful for output are known (optional: not required for integration).
38
report
,
39
40
NUM_OPTIONS
41
};
42
}
opyn
Definition
component_registry.h:14
opyn::ModelStateStage
ModelStateStage
Definition
model_state_stage.h:11
opyn::ModelStateStage::time
@ time
opyn::ModelStateStage::model
@ model
opyn::ModelStateStage::position
@ position
opyn::ModelStateStage::instance
@ instance
opyn::ModelStateStage::topology
@ topology
opyn::ModelStateStage::dynamics
@ dynamics
opyn::ModelStateStage::velocity
@ velocity
opyn::ModelStateStage::acceleration
@ acceleration
opyn::ModelStateStage::report
@ report
opyn::DataPointType::NUM_OPTIONS
@ NUM_OPTIONS
Generated by
1.9.8