Program listing for file numerics/src/NonSmoothDrivers.h#

  1#ifndef NonSmoothSolvers_H
  2#define NonSmoothSolvers_H
  3
  4#include "SiconosConfig.h"
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26#include "NumericsFwd.h"
 27
 28
 29
 30
 31
 32
 33
 34
 35#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
 36extern "C"
 37{
 38#endif
 39
 40
 41  int linearComplementarity_driver(LinearComplementarityProblem* problem, double *z , double *w, SolverOptions* options);
 42
 43
 44  int mlcp_driver(MixedLinearComplementarityProblem* problem, double *z, double *w, SolverOptions* options);
 45
 46
 47  int fc2d_driver(FrictionContactProblem* problem, double *reaction , double *velocity, SolverOptions* options);
 48
 49
 50
 51  int fc3d_driver(FrictionContactProblem* problem, double *reaction , double *velocity, SolverOptions* options);
 52
 53
 54  int rolling_fc3d_driver(RollingFrictionContactProblem* problem, double *reaction , double *velocity, SolverOptions* options);
 55
 56
 57  int rolling_fc2d_driver(RollingFrictionContactProblem* problem, double *reaction , double *velocity, SolverOptions* options);
 58
 59
 60  int gfc2d_driver(GlobalFrictionContactProblem* problem, double *reaction ,
 61                                     double *velocity, double* globalVelocity,
 62                                     SolverOptions* options);
 63
 64
 65  int gfc3d_driver(GlobalFrictionContactProblem* problem, double *reaction ,
 66                                     double *velocity, double* globalVelocity,
 67                                     SolverOptions* options);
 68
 69
 70  int g_rolling_fc3d_driver(GlobalRollingFrictionContactProblem* problem,
 71                            double *reaction, double *velocity, double* globalVelocity,
 72                            SolverOptions* options);
 73
 74
 75  int variationalInequality_driver(VariationalInequality* problem, double *x , double *w, SolverOptions* options);
 76
 77
 78  int avi_driver(AffineVariationalInequalities* problem, double* z, double* w, SolverOptions* options);
 79
 80
 81  int mcp_old_driver(MixedComplementarityProblem_old* problem, double *z, double *w, SolverOptions* options);
 82
 83
 84  int mcp_driver(MixedComplementarityProblem* problem, double *z, double *w, SolverOptions* options);
 85
 86
 87  int ncp_driver(NonlinearComplementarityProblem* problem, double *z , double *F, SolverOptions* options);
 88
 89
 90  int soclcp_driver(SecondOrderConeLinearComplementarityProblem* problem, double *r , double *v, SolverOptions* options);
 91
 92
 93  int fc3d_LmgcDriver(double *reaction,
 94                                   double *velocity,
 95                                   double *q,
 96                                   double *mu,
 97                                   double* W,
 98                                   unsigned int *row,
 99                                   unsigned int *column,
100                                   unsigned int nc,
101                                   unsigned int nb,
102                                   int solver_id,
103                                   double tolerance,
104                                   int itermax,
105                                   int verbose,
106                                   int outputFile,
107                                   int freq_output,
108                                   int ndof);
109
110
111  int gfc3d_LmgcDriver(double *reaction,
112                                         double *velocity,
113                                         double *globalVelocity,
114                                         double *q,
115                                         double *b,
116                                         double *mu,
117                                         double *Mdata,
118                                         unsigned int nzM,
119                                         unsigned int *rowM,
120                                         unsigned int *colM,
121                                         double* Hdata,
122                                         unsigned int nzH,
123                                         unsigned int *rowH,
124                                         unsigned int *colH,
125                                         unsigned int n,
126                                         unsigned int nc,
127                                         int solver_id,
128                                         int isize,
129                                         int *iparam,
130                                         int dsize,
131                                         double *dparam,
132                                         int verbose,
133                                         int outputFile,
134                                         int freq_output);
135
136
137  int relay_driver(RelayProblem* problem, double *z , double *w, SolverOptions* options);
138
139
140
141#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
142}
143#endif
144
145#endif