File numerics/src/FrictionContact/gfc3d_compute_error.h

Go to the source code of this file

functions related to error computation for friction-contact problems


int gfc3d_compute_error(GlobalFrictionContactProblem *problem, double *reaction, double *velocity, double *globalVelocity, double tolerance, SolverOptions *options, double norm, double *error)

Error computation for global friction-contact 3D problem The computation of the error uses as input the reaction (reaction) and the global velocity (globalVelocity) The value of the local velocity (velocity) is recomputed.

0 if successfull
  • problem: the structure which defines the friction-contact problem
  • reaction:
  • velocity:
  • globalVelocity:
  • tolerance: value for error computation
  • options: pointer to SolverOptions
  • norm: normalisation coeff
  • error: value