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

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

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