Program listing for file numerics/src/FrictionContact/grfc3d_compute_error.h

Program listing for file numerics/src/FrictionContact/grfc3d_compute_error.h#

 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{
12#endif
13
14
15  int grfc3d_compute_error(GlobalRollingFrictionContactProblem* problem,
16                          double *reaction , double *velocity,
17                          double* globalVelocity, double tolerance,
18                          double * error, int problemIsNotConvex);
19
20
21  void grfc3d_unitary_compute_and_add_error(double* r, double* u, double mu,
22                                            double mur, double * error, double * worktmp,
23                                            int problemIsNotConvex);
24
25#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
26}
27#endif
28
29#endif