All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MBSim::Contact2sSearch Class Reference

general class for contact search with respect to two contour-parameter More...

#include <functions_contact.h>

Public Member Functions

 Contact2sSearch (DistanceFunction< fmatvec::Vec(fmatvec::Vec)> *func_)
 constructor More...
 
 Contact2sSearch (DistanceFunction< fmatvec::Vec(fmatvec::Vec)> *func_, Function< fmatvec::Mat(fmatvec::Mat)> *jac_)
 constructor More...
 
void setInitialValue (const fmatvec::Vec2 &s0_)
 
void setNodes (const fmatvec::Vec &nodesU_, const fmatvec::Vec &nodesV_)
 
void setSearchAll (bool searchAll_)
 
void setEqualSpacing (const int nU, const int nV, const double U0, const double V0, const double dU, const double dV)
 set equally distanced nodes More...
 
fmatvec::Vec2 slv ()
 solve for the one potential contact point with minimal distance (might be negative) More...
 

Protected Member Functions

std::vector< double > searchVdirection (double u)
 solve for all potential contact points More...
 

Private Attributes

DistanceFunction< fmatvec::Vec(fmatvec::Vec)> * func
 distance-function holding all information for contact-search
 
Function< fmatvec::Mat(fmatvec::Mat)> * jac
 Jacobian of root function part of distance function.
 
fmatvec::Vec2 s0
 initial value for Newton method
 
fmatvec::Vec nodesU
 nodes defining search-areas for Regula-Falsi
 
fmatvec::Vec nodesV
 
bool searchAll
 all area searching by Regular-Falsi or known initial value for Newton-Method?
 

Detailed Description

general class for contact search with respect to two contour-parameter

Author
Zhan Wang

General remarks:

Constructor & Destructor Documentation

MBSim::Contact2sSearch::Contact2sSearch ( DistanceFunction< fmatvec::Vec(fmatvec::Vec)> *  func_)
inline

constructor

Parameters
rootfunction numerical Jacobian evaluation only local search
MBSim::Contact2sSearch::Contact2sSearch ( DistanceFunction< fmatvec::Vec(fmatvec::Vec)> *  func_,
Function< fmatvec::Mat(fmatvec::Mat)> *  jac_ 
)
inline

constructor

Parameters
rootfunction
Jacobianevaluation only local search

Member Function Documentation

std::vector< double > MBSim::Contact2sSearch::searchVdirection ( double  u)
protected

solve for all potential contact points

Returns
matrix holding LagrangeParameterPosition in col(0) and respective distances in col(1) search all possible contact point along the V direction
void MBSim::Contact2sSearch::setEqualSpacing ( const int  nU,
const int  nV,
const double  U0,
const double  V0,
const double  dU,
const double  dV 
)

set equally distanced nodes

Parameters
numberof search areas in U direction
numberof search areas in V direction
beginningparameter of U direction
beginningparameter of V direction
incrementlength of the U direction search
incrementlength of the V direction search
Vec2 MBSim::Contact2sSearch::slv ( )

solve for the one potential contact point with minimal distance (might be negative)

Returns
point with minimal distance at contour-parameter

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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML