File numerics/src/FrictionContact/fc3d_NCPGlockerFixedPoint.h

Go to the source code of this file

Typedef and functions declarations related to NCP-Fixed Point solver for 3 dimension frictional contact problems. Each solver must have 4 functions in its interface:

  • initialize: link local static variables to the global ones (M,q,…)

  • update: link/fill the local variables corresponding to sub-blocks of the full problem, for a specific contact

  • solve: solve the local problem

  • free

Functions

void F_GlockerFixedP(int sizeF, double *reaction, double *FVector, int up2Date)
void fc3d_FixedP_initialize(FrictionContactProblem *problem, FrictionContactProblem *localproblem, SolverOptions *localsolver_options)

Initialize friction-contact 3D Fixed Point solver.

Parameters
  • problem – to solve

  • localproblem – to solve

  • localsolver_options – of the solver

int fc3d_FixedP_solve(FrictionContactProblem *localproblem, double *reaction, SolverOptions *options)

solve friction-contact 3D problem with Fixed Point

Parameters
  • localproblem – to solve

  • reaction – (only the block corresponding to the current contact will be modified,

  • options – of the solver

Returns

0 iff successful

void fc3d_FixedP_free(FrictionContactProblem *problem, FrictionContactProblem *localproblem, SolverOptions *localsolver_option)

free memory for friction contact 3D Fixed Point solver

void fc3d_Path_computeError(int dimension, double *velocity, double *reaction, double *output_error)

compute error for friction-contact 3D problem with Fixed Point

Parameters
  • dimension – of the global problem

  • velocity[inout] vector

  • reaction – vector

  • output_error