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

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