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

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

 1#ifndef FRICTIONCONTACT3D_nonsmooth_Newton_NaturalMap_H
 2#define FRICTIONCONTACT3D_nonsmooth_Newton_NaturalMap_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 (*NaturalMapFun3x3Ptr)(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_NaturalMap(
24    FrictionContactProblem* problem,
25    double *reaction,
26    double *velocity,
27    int *info,
28    SolverOptions *options);
29
30
31
32  void fc3d_NaturalMapFunction(
33    unsigned int problemSize,
34    NaturalMapFun3x3Ptr 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  int fc3d_nonsmooth_Newton_NaturalMap_compute_error(
44    FrictionContactProblem* problem,
45    double *z , double *w, double tolerance,
46    SolverOptions * options, double * error);
47
48
49#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
50}
51#endif
52
53#endif