[io] avoid solver_options_pos in run_options output
@@ -2080,6 +2080,18 @@ class MechanicsHdf5Runner(siconos.io.mechanics_hdf5.MechanicsHdf5):
d['solver_options']['dparam['+ str(i)+']'] = float(so.dparam[i])
# d['solver_options']['numberOfInternalSolvers']=so.numberOfInternalSolvers # fix it
+ sop = d['solver_options_pos']
+ if sop :
+ d['solver_options_pos'] = {}
+ d['solver_options_pos']['solverId'] = so.solverId
+ d['solver_options_pos']['solver name'] = so.solverId
+ d['solver_options_pos']['iparam size'] = so.iSize
+ for i in range(so.iSize):
+ d['solver_options_pos']['iparam['+ str(i) +']'] = int(so.iparam[i])
+ for i in range(so.dSize):
+ if so.dparam[i] <= 1e24:
+ d['solver_options_pos']['dparam['+ str(i)+']'] = float(so.dparam[i])
+ # d['solver_options_pos']['numberOfInternalSolvers']=so.numberOfInternalSolvers # fix it
bo = d['bullet_options']
if bo:
