LCPcalc.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sofa/helper/system/thread/CTime.h>

Include dependency graph for LCPcalc.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

class  sofa::helper::LCP
class  sofa::helper::LocalBlock33

Namespaces

namespace  sofa
 Main SOFA namespace.
namespace  sofa::helper
 Utility helper classes that we need, but that are not the core of the plateform.

Defines

#define EPSILON_LCP   0.00000000001
#define EPSILON_CONV   0.001
#define MAX_BOU   50

Typedefs

typedef double sofa::helper::FemClipsReal

Functions

void sofa::helper::set3Dof (double *vector, int index, double &vx, double &vy, double &vz)
void sofa::helper::add3Dof (double *vector, int index, double &vx, double &vy, double &vz)
double sofa::helper::normError (double &f1x, double &f1y, double &f1z, double &f2x, double &f2y, double &f2z)
double sofa::helper::absError (double &f1x, double &f1y, double &f1z, double &f2x, double &f2y, double &f2z)
int sofa::helper::resoudreLCP (int dim, double *q, double **M, double *res)
int sofa::helper::lcp_lexicolemke (int dim, double *q, double **M, double *res)
int sofa::helper::lcp_lexicolemke (int dim, double *q, double **M, double **A, double *res)
void sofa::helper::afficheSyst (double *q, double **M, int *base, double **mat, int dim)
void sofa::helper::afficheLCP (double *q, double **M, int dim)
void sofa::helper::afficheLCP (double *q, double **M, double *f, int dim)
void sofa::helper::gaussSeidelLCP1 (int dim, FemClipsReal *q, FemClipsReal **M, FemClipsReal *res, double tol, int numItMax)
int sofa::helper::nlcp_gaussseidel (int dim, double *dfree, double **W, double *f, double mu, double tol, int numItMax, bool useInitialF)
int sofa::helper::nlcp_gaussseidelTimed (int dim, double *dfree, double **W, double *f, double mu, double tol, int numItMax, bool useInitialF, double timeout)


Define Documentation

#define EPSILON_CONV   0.001

Definition at line 46 of file LCPcalc.h.

#define EPSILON_LCP   0.00000000001

Definition at line 45 of file LCPcalc.h.

Referenced by sofa::helper::resoudreLCP().

#define MAX_BOU   50

Definition at line 47 of file LCPcalc.h.

Referenced by sofa::helper::resoudreLCP(), and sofa::helper::LCPSolver< dim >::solve().


Generated on Sun Nov 23 04:07:23 2008 for Sofa by  doxygen 1.5.7.1