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#endif
11
12
13void NCPGlocker_initialize(FrictionContactProblem* problem,
14 FrictionContactProblem* localproblem);
15
16
17void NCPGlocker_update(int, FrictionContactProblem* problem,
18 FrictionContactProblem* localproblem, double* pos,
19 SolverOptions* options);
20
21
22void NCPGlocker_post(int contactnumber, double* reaction);
23
24
25void computeFGlocker(double** FOut, int up2Date);
26
27
28void computeJacobianFGlocker(double** jacobianFOut, int up2Date);
29
30
31
32double Compute_NCP_error1(int contact, double error);
33
34
35double Compute_NCP_error2(int contact, double error);
36
37
38
39void compute_Z_GlockerFixedP(int contact, double* reactionstep);
40
41
42void NCPGlocker_free(void);
43
44#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
45}
46#endif
47
48#endif