MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::LCPReformulationFunction Class Reference
Inheritance diagram for MBSim::LCPReformulationFunction:
MBSim::Function< fmatvec::Vec(fmatvec::Vec)> Function MBSim::LCPFixpointReformulationFunction MBSim::LCPNewtonReformulationFunction

List of all members.

Public Member Functions

 LCPReformulationFunction (const double &r_=10)
 standard constructor
 LCPReformulationFunction (const fmatvec::Vec &q_, const fmatvec::SqrMat &M_, const double &r_=10, const unsigned int &DEBUGLEVEL_=0)
 constructor
virtual fmatvec::Vec operator() (const fmatvec::Vec &q)=0
fmatvec::Vec getq (void)
 GETTER / SETTER.
void setSystem (const fmatvec::SqrMat &M_, const fmatvec::Vec &q_)
fmatvec::SqrMat getM (void)
double getr (void)
void setr (const double &r_)

Protected Attributes

int NumberOfContacts
 Number of possible contact points (= dimension of the LCP)
fmatvec::Vec q
 vector of all rigid body gaps
fmatvec::SqrMat M
 Influence matrix for the contacts.
double r
 parameter for the prox-function (r>0)
unsigned int DEBUGLEVEL
 parameter to print information

Member Function Documentation

virtual fmatvec::Vec MBSim::LCPReformulationFunction::operator() ( const fmatvec::Vec &  q) [pure virtual]
Parameters:
q,:solution vector with first entries: w, last entries: z

Implemented in MBSim::LCPFixpointReformulationFunction, and MBSim::LCPNewtonReformulationFunction.


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