Program listing for file numerics/src/tools/projectionOnRollingCone.h

Program listing for file numerics/src/tools/projectionOnRollingCone.h#

 1#ifndef ProjectionOnRollingCone_H
 2#define ProjectionOnRollingCone_H
 3
 4
 5
 6#include "SiconosConfig.h"
 7
 8enum {
 9  PROJRCONE_DUAL,
10  PROJRCONE_INSIDE,
11  PROJRCONE_BOUNDARY_FRICTION,
12  PROJRCONE_BOUNDARY_ROLLING,
13  PROJRCONE_BOUNDARY_FRICTION_ROLLING
14};
15#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
16extern "C" {
17#endif
18
19
20unsigned int projectionOnRollingCone(double *r, double mu, double mur);
21
22
23unsigned int projectionOn2DRollingCone(double *r, double mu, double mur);
24
25
26unsigned projectionOnDualRollingCone(double *u, double mu, double mur);
27
28void display_status_rolling_cone(unsigned int status);
29
30#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
31}
32#endif
33
34#endif