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

 1#ifndef fc2d_compute_error_H
 2#define fc2d_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  void fc2d_unitary_compute_and_add_error(double* restrict r, double* restrict u, double mu, double* restrict error, double * worktmp);
15
16  int fc2d_compute_error(FrictionContactProblem* problem, double *z , double *w, double tolerance, double norm, double * error);
17
18#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
19}
20#endif
21
22#endif