Program listing for file numerics/src/FrictionContact/grfc3d_compute_error.h#
Return to documentation for this file
1#ifndef grfc3d_compute_error_H
2#define grfc3d_compute_error_H
3
4
5
6#include "NumericsFwd.h"
7#include "SiconosConfig.h"
8
9#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
10extern "C" {
11#endif
12
13
14int grfc3d_compute_error(GlobalRollingFrictionContactProblem* problem, double* reaction,
15 double* velocity, double* globalVelocity, double tolerance,
16 double* error, int problemIsNotConvex);
17
18
19void grfc3d_unitary_compute_and_add_error(double* r, double* u, double mu, double mur,
20 double* error, double* worktmp,
21 int problemIsNotConvex);
22
23#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
24}
25#endif
26
27#endif