MBSim

Project Page
Public Member Functions
MBSim::LCPNewtonReformulationFunction Class Reference
Inheritance diagram for MBSim::LCPNewtonReformulationFunction:
MBSim::LCPReformulationFunction MBSim::Function1< fmatvec::Vec, fmatvec::Vec >

List of all members.

Public Member Functions

 LCPNewtonReformulationFunction ()
 standard constructor
 LCPNewtonReformulationFunction (const fmatvec::Vec &q_, const fmatvec::SqrMat &M_, const double &r_=10, const unsigned int &DEBUGLEVEL_=0)
 constructor
virtual ~LCPNewtonReformulationFunction ()
 destructor
fmatvec::Vec operator() (const fmatvec::Vec &q, const void *=NULL)
- Public Member Functions inherited from MBSim::LCPReformulationFunction
 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
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_)
- Public Member Functions inherited from MBSim::Function1< fmatvec::Vec, fmatvec::Vec >
virtual ~Function1 ()
 destructor
virtual void initializeUsingXML (TiXmlElement *element)
 initialize function with XML code

Additional Inherited Members

- Protected Attributes inherited from MBSim::LCPReformulationFunction
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

Constructor & Destructor Documentation

MBSim::LCPNewtonReformulationFunction::LCPNewtonReformulationFunction ( const fmatvec::Vec &  q_,
const fmatvec::SqrMat &  M_,
const double &  r_ = 10,
const unsigned int &  DEBUGLEVEL_ = 0 
)

constructor

Parameters:
q_constant vector of LCP
M_Coupling Matrix of LCP
r_r-factor for the project-function
DEBUGLEVEL_print information to console?

Member Function Documentation

fmatvec::Vec MBSim::LCPNewtonReformulationFunction::operator() ( const fmatvec::Vec &  q,
const void *  = NULL 
)
virtual
Parameters:
q,:solution vector with first entries: w, last entries: z

Implements MBSim::LCPReformulationFunction.


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