Addition of two new options in IPARAM (refinement and 1x1 system).
@@ -549,7 +549,9 @@ enum SICONOS_FRICTION_3D_IPM_IPARAM_ENUM
/** index in iparam to use a reduced symmetric system with Qp2 or QpH inside the matrix **/
SICONOS_FRICTION_3D_IPM_IPARAM_REDUCED_SYSTEM_METHOD = 19,
/** index in iparam to choose the linear system formulation **/
- SICONOS_FRICTION_3D_IPM_IPARAM_LS_FORM = 10
+ SICONOS_FRICTION_3D_IPM_IPARAM_LS_FORM = 10,
+ /** index in iparam to perform iterative refinement with MA57 (LDT) **/
+ SICONOS_FRICTION_3D_IPM_IPARAM_REFINEMENT = 15
};
enum SICONOS_FRICTION_3D_IPM_DPARAM_ENUM
@@ -593,7 +595,8 @@ enum SICONOS_FRICTION_3D_IPM_IPARAM_LS_FORM_ENUM
SICONOS_FRICTION_3D_IPM_IPARAM_LS_3X3_QP2 = 1,
SICONOS_FRICTION_3D_IPM_IPARAM_LS_3X3_QPH = 2,
SICONOS_FRICTION_3D_IPM_IPARAM_LS_2X2_QP2 = 3,
- SICONOS_FRICTION_3D_IPM_IPARAM_LS_2X2_QPH = 4
+ SICONOS_FRICTION_3D_IPM_IPARAM_LS_2X2_QPH = 4,
+ SICONOS_FRICTION_3D_IPM_IPARAM_LS_1X1_QPH = 5
};
enum SICONOS_FRICTION_3D_IPM_IPARAM_FINISH_WITHOUT_SCALING_ENUM
@@ -601,4 +604,10 @@ enum SICONOS_FRICTION_3D_IPM_IPARAM_FINISH_WITHOUT_SCALING_ENUM
SICONOS_FRICTION_3D_IPM_IPARAM_FINISH_WITHOUT_SCALING_NO = 0,
SICONOS_FRICTION_3D_IPM_IPARAM_FINISH_WITHOUT_SCALING_YES = 1
};
+
+enum SICONOS_FRICTION_3D_IPM_IPARAM_REFINEMENT_ENUM
+{
+ SICONOS_FRICTION_3D_IPM_IPARAM_REFINEMENT_NO = 0,
+ SICONOS_FRICTION_3D_IPM_IPARAM_REFINEMENT_YES = 1
+};
#endif
