sofa::helper::LCP Class Reference

#include <LCPcalc.h>

Collaboration diagram for sofa::helper::LCP:

Collaboration graph
[legend]

Public Member Functions

 LCP (unsigned int maxConstraint)
 ~LCP ()
void reset (void)
double ** getW (void)
double & getMu (void)
double * getDfree (void)
double getTolerance (void)
double getMaxIter (void)
double * getF (void)
bool useInitialGuess (void)
unsigned int getNbConst (void)
unsigned int setNbConst (unsigned int nbC)
unsigned int getMaxConst (void)

Private Attributes

int maxConst
double * dfree
double ** W
double * f
double tol
int numItMax
bool useInitialF
double mu
int dim
unsigned int nbConst

Detailed Description

Definition at line 49 of file LCPcalc.h.


Constructor & Destructor Documentation

sofa::component::odesolver::LCP::LCP ( unsigned int  maxConstraint  ) 

Definition at line 44 of file LCPcalc.cpp.

References dfree, f, maxConst, and W.

sofa::component::odesolver::LCP::~LCP (  ) 

Definition at line 99 of file LCPcalc.cpp.

References dfree, maxConst, and W.


Member Function Documentation

double* sofa::helper::LCP::getDfree ( void   )  [inline]

Definition at line 69 of file LCPcalc.h.

References dfree.

double* sofa::helper::LCP::getF ( void   )  [inline]

Definition at line 72 of file LCPcalc.h.

References f.

unsigned int sofa::helper::LCP::getMaxConst ( void   )  [inline]

Definition at line 76 of file LCPcalc.h.

References maxConst.

double sofa::helper::LCP::getMaxIter ( void   )  [inline]

Definition at line 71 of file LCPcalc.h.

References numItMax.

double& sofa::helper::LCP::getMu ( void   )  [inline]

Definition at line 68 of file LCPcalc.h.

References mu.

Referenced by sofa::component::odesolver::MasterContactSolver::build_LCP().

unsigned int sofa::helper::LCP::getNbConst ( void   )  [inline]

Definition at line 74 of file LCPcalc.h.

References nbConst.

double sofa::helper::LCP::getTolerance ( void   )  [inline]

Definition at line 70 of file LCPcalc.h.

References tol.

Referenced by sofa::component::controller::LCPForceFeedback::computeForce().

double** sofa::helper::LCP::getW ( void   )  [inline]

Definition at line 67 of file LCPcalc.h.

References W.

void sofa::component::odesolver::LCP::reset ( void   ) 

Definition at line 110 of file LCPcalc.cpp.

References dfree, maxConst, and W.

unsigned int sofa::helper::LCP::setNbConst ( unsigned int  nbC  )  [inline]

Definition at line 75 of file LCPcalc.h.

References nbConst.

Referenced by sofa::component::odesolver::MasterContactSolver::step().

bool sofa::helper::LCP::useInitialGuess ( void   )  [inline]

Definition at line 73 of file LCPcalc.h.

References useInitialF.


Field Documentation

double* sofa::helper::LCP::dfree [private]

Definition at line 53 of file LCPcalc.h.

Referenced by getDfree(), LCP(), reset(), and ~LCP().

Definition at line 60 of file LCPcalc.h.

double* sofa::helper::LCP::f [private]

Definition at line 55 of file LCPcalc.h.

Referenced by sofa::component::odesolver::LCP::getF(), getF(), and LCP().

Definition at line 52 of file LCPcalc.h.

Referenced by sofa::component::odesolver::LCP::getMaxConst(), getMaxConst(), LCP(), reset(), and ~LCP().

double sofa::helper::LCP::mu [private]

Definition at line 59 of file LCPcalc.h.

Referenced by sofa::component::odesolver::LCP::getMu(), and getMu().

unsigned int sofa::helper::LCP::nbConst [private]

Definition at line 57 of file LCPcalc.h.

Referenced by sofa::component::odesolver::LCP::getMaxIter(), and getMaxIter().

double sofa::helper::LCP::tol [private]

Definition at line 58 of file LCPcalc.h.

Referenced by sofa::component::odesolver::LCP::useInitialGuess(), and useInitialGuess().

double** sofa::helper::LCP::W [private]

Definition at line 54 of file LCPcalc.h.

Referenced by sofa::component::odesolver::LCP::getW(), getW(), LCP(), reset(), and ~LCP().


The documentation for this class was generated from the following files:

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