""" Add a new equilibrium variable that replaces the specified
default one.
...
...
@@ -413,7 +458,9 @@ class MbsEquil(object):
Index in ptr of the variable to be exchanged
replaced_var_id : int
Index of the default variable that will be replaced
ptr_name : str
(optionnal) Name of the variable to be exchanged
"""
ifself.get_options("nquch"):
print("As the number of equilibrium variables is locked in the external memory after the first call of run(), this function can not be called between two run()")
...
...
@@ -425,15 +472,15 @@ class MbsEquil(object):
print(">>EQUIL>> variable exchange : Warning ! Generalized coordinates have to be used with caution as exchange variables")
print(">>EQUIL>> extra variable : nxe ("+str(self.get_options("nxe"))+") different from the length of the extra variable list ("+str(len(self.addition_list))+")")