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

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

 1#ifndef gfc3d_compute_error_H
 2#define gfc3d_compute_error_H
 3#include "SiconosConfig.h"
 4#include "NumericsFwd.h"
 5
 6
 7
 8#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
 9extern "C"
10{
11#endif
12
13
14  int gfc3d_compute_error(GlobalFrictionContactProblem* problem,
15                          double *reaction , double *velocity,
16                          double* globalVelocity, double tolerance,
17                          SolverOptions * options,
18                          double norm_q, double norm_b,  double * error);
19  int gfc3d_compute_error_convex(GlobalFrictionContactProblem* problem, double *reaction , double *velocity,
20                                 double* globalVelocity, double tolerance,  SolverOptions * options,
21                                 double norm_q, double norm_b,  double * error);
22
23#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
24}
25#endif
26
27#endif