Program listing for file numerics/src/FrictionContact/fc3d_2NCP_Glocker.h#
Return to documentation for this file
1#ifndef FC3D2NCP_GLOCKER_H
2#define FC3D2NCP_GLOCKER_H
3
4
5#include "NumericsFwd.h"
6#include "SiconosConfig.h"
7
8#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
9extern "C"
10{
11#endif
12
13
14 void NCPGlocker_initialize(FrictionContactProblem* problem, FrictionContactProblem* localproblem);
15
16
17 void NCPGlocker_update(int, FrictionContactProblem* problem, FrictionContactProblem* localproblem, double* pos, SolverOptions* options);
18
19
20 void NCPGlocker_post(int contactnumber, double * reaction);
21
22
23 void computeFGlocker(double ** FOut, int up2Date);
24
25
26 void computeJacobianFGlocker(double ** jacobianFOut, int up2Date);
27
28
29
30 double Compute_NCP_error1(int contact, double error);
31
32
33 double Compute_NCP_error2(int contact, double error);
34
35
36
37 void compute_Z_GlockerFixedP(int contact, double *reactionstep);
38
39
40 void NCPGlocker_free(void);
41
42#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
43}
44#endif
45
46#endif