You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add abstract type AbstractForceElement.
- Generate list of force element objects during MBS initialization stored in scene.
- Call basic force element functions:
* initializeForceElement(force) once before simulation.
* evaluateForceElement(time, force) in every evaluation of the equations of motion.
* terminateForceElement(force) once after simulation.
Recursively traverse model and perform the following actions:
30
34
31
35
- Search for an OrderedDict that has `key = :_id, value = id`
32
36
(identifies the root of the multibody system).
33
-
34
37
- Search from the root of the multibody system and perform the following actions:
35
38
- Check that from all Object3Ds exactly one of them has no parent.
36
39
Return this parent as `world`.
37
40
- Check that only `world` has potentially a `feature` entry that
38
41
is a SceneOption.
39
42
- Return a vector of joint objects as `joints`.
43
+
- Return a vector of all force element objects.
40
44
"""
41
-
functioncheckMultibodySystemAndGetWorldAndJoints(instantiatedModel::ModiaLang.SimulationModel{FloatType,ParType,EvaluatedParType,TimeType}, id::Int) where {FloatType,ParType,EvaluatedParType,TimeType}
45
+
functioncheckMultibodySystemAndGetWorldAndJointsAndForceElements(instantiatedModel::ModiaLang.SimulationModel{FloatType,ParType,EvaluatedParType,TimeType}, id::Int) where {FloatType,ParType,EvaluatedParType,TimeType}
0 commit comments