opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
model_state_stage.h
Go to the documentation of this file.
1#pragma once
2
3namespace 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.
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.
27
28 // The spatial velocities of all bodies are known.
30
31 // The force acting on each body is known, along with total kinetic/potential energy.
33
34 // The time derivatives of all continuous state variables known.
36
37 // Additional variables useful for output are known (optional: not required for integration).
38 report,
39
41 };
42}
Definition component_registry.h:14
ModelStateStage
Definition model_state_stage.h:11