File numerics/src/FrictionContact/fc2d_compute_error.h¶
Go to the source code of this file
functions related to error computation for friction-contact problems
Functions
- void fc2d_unitary_compute_and_add_error (double *restrict r, double *restrict u, double mu, double *restrict error, double *worktmp)
-
int fc2d_compute_error(FrictionContactProblem *problem, double *z, double *w, double tolerance, double norm, double *error)¶
Error computation for friction-contact 3D problem.
- Parameters
problem – the structure which defines the friction-contact problem
z – vector
w – vector
tolerance – value for error computation
error – [inout] value
- Returns
0 if ok