Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
robotran
mbsysc
Commits
fc6d2715
Commit
fc6d2715
authored
Sep 25, 2020
by
Olivier Lantsoght
Browse files
[MBsysPy] Add AlphaM integrator
parent
9002734c
Changes
1
Hide whitespace changes
Inline
Side-by-side
MBsysC/mbs_interface/MBsysPy/mbsyspy/mbs_dirdyn.py
View file @
fc6d2715
...
...
@@ -550,8 +550,10 @@ class MbsDirdyn(object):
return
6
elif
value
==
"WMethods"
:
return
7
elif
value
==
"
Custom
"
:
elif
value
==
"
AlphaM
"
:
return
8
elif
value
==
"Custom"
:
return
9
else
:
raise
ValueError
else
:
...
...
@@ -727,6 +729,8 @@ class MbsDirdyn(object):
elif
self
.
mbs_dirdyn_ptr
.
contents
.
options
.
contents
.
integrator
==
7
:
options
.
append
(
"WMethods"
)
elif
self
.
mbs_dirdyn_ptr
.
contents
.
options
.
contents
.
integrator
==
8
:
options
.
append
(
"AlphaM"
)
elif
self
.
mbs_dirdyn_ptr
.
contents
.
options
.
contents
.
integrator
==
9
:
options
.
append
(
"Custom"
)
elif
key
==
"verbose"
:
options
.
append
(
self
.
mbs_dirdyn_ptr
.
contents
.
options
.
contents
.
verbose
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment