Program listing for file numerics/src/FrictionContact/grfc3d_Solvers.h#
Return to documentation for this file
1#ifndef GLOBALROLLINGFRICTIONCONTACT3DSOLVERS_H
2#define GLOBALROLLINGFRICTIONCONTACT3DSOLVERS_H
3
4
5
6#include "Friction_cst.h"
7#include "GlobalRollingFrictionContactProblem.h"
8#include "SolverOptions.h"
9
10
11typedef void (*ComputeErrorGlobalRollingPtr)(GlobalRollingFrictionContactProblem*, double*,
12 double*, double*, double, double*, int);
13
14#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
15extern "C" {
16#endif
17
18
19void grfc3d_nsgs_wr(GlobalRollingFrictionContactProblem* problem, double* reaction,
20 double* velocity, double* globalVelocity, int* info,
21 SolverOptions* options);
22
23int grfc3d_checkTrivialCaseGlobal(int n, double* q, double* velocity, double* reaction,
24 double* globalVelocity, SolverOptions* options);
25
26
27void grfc3d_IPM_init(GlobalRollingFrictionContactProblem* problem, SolverOptions* options);
28
29
30void grfc3d_IPM_free(GlobalRollingFrictionContactProblem* problem, SolverOptions* options);
31
32
33void grfc3d_IPM_set_default(SolverOptions* options);
34
35
36void grfc3d_IPM(GlobalRollingFrictionContactProblem* problem, double* reaction,
37 double* velocity, double* globalVelocity, int* info, SolverOptions* options);
38
39
40
41
42
43
44#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
45}
46#endif
47
48#endif