File numerics/src/FrictionContact/global_rolling_fc_Solvers.h

Go to the source code of this file

Functions

void grfc3d_nsgs_wr(GlobalRollingFrictionContactProblem *problem, double *reaction, double *velocity, double *globalVelocity, int *info, SolverOptions *options)

Non-Smooth Gauss Seidel solver with reformulation for rolling friction-contact 3D problem.

Parameters
  • problem – the friction-contact 3D problem to solve

  • velocity – global vector (n), in-out parameter

  • reaction – global vector (n), in-out parameters

  • globalVelocity – global vector (m), in-out parameters

  • info – return 0 if the solution is found

  • options – the solver options : iparam[0] : Maximum iteration number iparam[4] : localsolver choice 0: projection on Cone, 1: Newton/AlartCurnier, 2: projection on Cone with local iteration, 2: projection on Disk with diagonalization, dparam[0] : tolerance dparam[2] : localtolerance dparam[1] : (out) error

int grfc3d_checkTrivialCaseGlobal(int n, double *q, double *velocity, double *reaction, double *globalVelocity, SolverOptions *options)