File numerics/src/FrictionContact/gfc3d_compute_error.h

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

Functions

int gfc3d_compute_error(GlobalFrictionContactProblem *problem, double *reaction, double *velocity, double *globalVelocity, double tolerance, SolverOptions *options, double norm_q, double norm_b, 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

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

  • reaction[in]

  • velocity[in]

  • globalVelocity[out]

  • tolerance – value for error computation

  • options – pointer to SolverOptions

  • norm_q – norm of q or a normalization value

  • norm_b – norm of b or a normalization value

  • error[inout] value

Returns:

0 if successfull

int gfc3d_compute_error_convex(GlobalFrictionContactProblem *problem, double *reaction, double *velocity, double *globalVelocity, double tolerance, SolverOptions *options, double norm_q, double norm_b, double *error)#