File numerics/src/FrictionContact/grfc3d_compute_error.h

File numerics/src/FrictionContact/grfc3d_compute_error.h#

Go to the source code of this file

functions related to error computation for rolling friction-contact problems

Functions

int grfc3d_compute_error(GlobalRollingFrictionContactProblem *problem, double *reaction, double *velocity, double *globalVelocity, double tolerance, double *error, int problemIsNotConvex)#

Error computation (using the normal map residual) for rolling friction-contact 3D problem.

Parameters:
  • problem – the structure which defines the rolling friction-contact problem

  • u – vector

  • r – vector

  • tolerance – value for error computation

  • options

  • norm – of a vector (problem->q) for relative error

  • error[inout] value

Returns:

0 if ok

void grfc3d_unitary_compute_and_add_error(double *r, double *u, double mu, double mur, double *error, double *worktmp, int problemIsNotConvex)#

Error computation (using the normal map residual) for one rolling friction-contact 3D problem.

Parameters:
  • r – the reaction force

  • u – the local velocity

  • mu – coeficient of friction

  • mur – coeficient of rolling

  • worktmp – work vector

  • error[inout] value