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#endif
11
12
13typedef void (*NaturalMapFun3x3Ptr)(double *reaction, double *velocity, double mu, double *rho,
14                                    double *F, double *A, double *B);
15
16
17void fc3d_nonsmooth_Newton_NaturalMap(FrictionContactProblem *problem, double *reaction,
18                                      double *velocity, int *info, SolverOptions *options);
19
20
21void fc3d_NaturalMapFunction(unsigned int problemSize, NaturalMapFun3x3Ptr computeACFun3x3,
22                             double *reaction3D, double *velocity3D, double *mu, double *rho3D,
23                             double *output_blocklist3, double *output_blocklist3x3_1,
24                             double *output_blocklist3x3_2);
25
26int fc3d_nonsmooth_Newton_NaturalMap_compute_error(FrictionContactProblem *problem, double *z,
27                                                   double *w, double tolerance,
28                                                   SolverOptions *options, double *error);
29
30#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
31}
32#endif
33
34#endif