File numerics/src/FrictionContact/rolling_fc3d_compute_error.h#
Go to the source code of this file
functions related to error computation for friction-contact problems
Functions
-
int rolling_fc3d_compute_error(RollingFrictionContactProblem *problem, double *z, double *w, double tolerance, SolverOptions *options, double norm, double *error)#
Error computation (using the normal map residual) for friction-contact 3D problem.
- Parameters:
problem – the structure which defines the friction-contact problem
z – vector
w – vector
tolerance – value for error computation
options –
norm – norm of a vector (problem->q) for relative error
error – [inout] value
- Returns:
0 if ok
-
void rolling_fc3d_unitary_compute_and_add_error(double r[5], double u[5], double mu, double mur, double *error, double *worktmp)#
Error computation (using the normal map residual) for one friction-contact 3D problem.
- Parameters:
r – the reaction force
u – the local velocity
mu – coeficient of friction
worktmp – work vector
error – [inout] value