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

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

 1#ifndef FRICTIONCONTACT3D_nonsmooth_Newton_FischerBurmeister_H
 2#define FRICTIONCONTACT3D_nonsmooth_Newton_FischerBurmeister_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  typedef void (*FischerBurmeisterFun3x3Ptr)(double* reaction,
15                                             double* velocity,
16                                             double mu,
17                                             double* rho,
18                                             double* F,
19                                             double* A,
20                                             double* B);
21
22
23  void fc3d_nonsmooth_Newton_FischerBurmeister(
24    FrictionContactProblem* problem,
25    double *reaction,
26    double *velocity,
27    int *info,
28    SolverOptions *options);
29
30
31
32  void fc3d_FischerBurmeisterFunction(
33    unsigned int problemSize,
34    FischerBurmeisterFun3x3Ptr computeACFun3x3,
35    double *reaction3D,
36    double *velocity3D,
37    double *mu,
38    double *rho3D,
39    double *output_blocklist3,
40    double *output_blocklist3x3_1,
41    double *output_blocklist3x3_2);
42
43
44  int fc3d_nonsmooth_Newton_FischerBurmeister_compute_error(
45    FrictionContactProblem* problem,
46    double *z , double *w, double tolerance,
47    SolverOptions * options, double * error);
48
49
50#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
51}
52#endif
53
54#endif