sofa::component::odesolver::MasterContactSolver Class Reference

#include <MasterContactSolver.h>

Inheritance diagram for sofa::component::odesolver::MasterContactSolver:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::odesolver::MasterContactSolver:

Collaboration graph
[legend]

Data Structures

struct  contactBuf

Public Member Functions

 MasterContactSolver ()
void step (double dt)
 Main computation method.
virtual void init ()
 Initialization method called at graph modification, during bottom-up traversal.
LCP * getLCP (void)

Data Fields

Data< bool > initial_guess
Data< double > tol
Data< int > maxIt
Data< double > mu

Private Member Functions

void computeInitialGuess ()
void keepContactForcesValue ()
void build_LCP ()

Private Attributes

std::vector
< core::componentmodel::behavior::BaseConstraintCorrection * > 
constraintCorrections
unsigned int _numConstraints
double _mu
simulation::tree::GNode * context
LCP lcp1
LCP lcp2
LPtrFullMatrix< double > * _A
LPtrFullMatrix< double > * _W
FullVector< double > * _dFree
FullVector< double > * _result
LCP * lcp
contactBuf * _PreviousContactList
unsigned int _numPreviousContact
long * _cont_id_list

Detailed Description

Definition at line 181 of file MasterContactSolver.h.


Constructor & Destructor Documentation

sofa::component::odesolver::MasterContactSolver::MasterContactSolver (  ) 


Member Function Documentation

void sofa::component::odesolver::MasterContactSolver::build_LCP (  )  [private]

void sofa::component::odesolver::MasterContactSolver::computeInitialGuess (  )  [private]

LCP* sofa::component::odesolver::MasterContactSolver::getLCP ( void   )  [inline]

Definition at line 197 of file MasterContactSolver.h.

References lcp, lcp1, and lcp2.

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

void sofa::component::odesolver::MasterContactSolver::init ( void   )  [virtual]

Initialization method called at graph modification, during bottom-up traversal.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 106 of file MasterContactSolver.cpp.

References constraintCorrections, sofa::core::objectmodel::BaseContext::get(), sofa::core::objectmodel::BaseObject::getContext(), and sofa::core::objectmodel::BaseContext::SearchDown.

void sofa::component::odesolver::MasterContactSolver::keepContactForcesValue (  )  [private]

void sofa::component::odesolver::MasterContactSolver::step ( double  dt  )  [virtual]


Field Documentation

Definition at line 210 of file MasterContactSolver.h.

Referenced by step().

Definition at line 211 of file MasterContactSolver.h.

Referenced by build_LCP(), and step().

Definition at line 211 of file MasterContactSolver.h.

Referenced by keepContactForcesValue(), and step().

Definition at line 210 of file MasterContactSolver.h.

Referenced by build_LCP(), and step().

Definition at line 197 of file MasterContactSolver.h.

Referenced by build_LCP(), init(), and step().

Definition at line 208 of file MasterContactSolver.h.

Referenced by build_LCP(), and step().

Definition at line 184 of file MasterContactSolver.h.

Referenced by build_LCP(), and step().

Definition at line 212 of file MasterContactSolver.h.

Referenced by build_LCP(), getLCP(), and step().

Definition at line 209 of file MasterContactSolver.h.

Referenced by getLCP(), and step().

Definition at line 209 of file MasterContactSolver.h.

Referenced by getLCP(), and step().

Definition at line 186 of file MasterContactSolver.h.

Referenced by step().

Definition at line 187 of file MasterContactSolver.h.

Referenced by build_LCP().

Definition at line 185 of file MasterContactSolver.h.

Referenced by step().


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

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