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

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

 1#ifndef ROLLINGFRICTIONCONTACT2DProjection_H
 2#define ROLLINGFRICTIONCONTACT2DProjection_H
 3
 4
 5
 6#include "NumericsFwd.h"
 7#include "SiconosConfig.h"
 8
 9#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
10extern "C" {
11#endif
12
13void rolling_fc2d_projection_update(int number, RollingFrictionContactProblem* problem,
14                                    RollingFrictionContactProblem* localproblem,
15                                    double* reaction, SolverOptions* options);
16
17void rolling_fc2d_projection_initialize(RollingFrictionContactProblem* problem,
18                                        RollingFrictionContactProblem* localproblem);
19void rolling_fc2d_projection_free(RollingFrictionContactProblem* problem,
20                                  RollingFrictionContactProblem* localproblem,
21                                  SolverOptions* localsolver_options);
22
23int rolling_fc2d_projectionOnCone_solve(RollingFrictionContactProblem* localproblem,
24                                        double* reaction, SolverOptions* options);
25int rolling_fc2d_projectionOnCone_setDefaultSolverOptions(SolverOptions* options);
26
27
28int rolling_fc2d_projectionOnConeWithLocalIteration_solve(
29    RollingFrictionContactProblem* localproblem, double* reaction, SolverOptions* options);
30void rolling_fc2d_projectionOnConeWithLocalIteration_free(
31    RollingFrictionContactProblem* problem, RollingFrictionContactProblem* localproblem,
32    SolverOptions* localsolver_options);
33void rolling_fc2d_projectionOnConeWithLocalIteration_initialize(
34    RollingFrictionContactProblem* problem, RollingFrictionContactProblem* localproblem,
35    SolverOptions* localsolver_options);
36int rolling_fc2d_projectionOnConeWithLocalIteration_setDefaultSolverOptions(
37    SolverOptions* options);
38
39#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
40}
41#endif
42
43#endif