MBSim |
Project Page |
general class for contact search with respect to one contour-parameter More...
#include <functions_contact.h>
Public Member Functions | |
| Contact1sSearch (DistanceFunction< double, double > *func_) | |
| constructor | |
| Contact1sSearch (DistanceFunction< double, double > *func_, Function1< double, double > *jac_) | |
| constructor | |
| void | setInitialValue (const double &s0_) |
| void | setNodes (const fmatvec::Vec &nodes_) |
| void | setSearchAll (bool searchAll_) |
| void | setEqualSpacing (const int &n, const double &x0, const double &dx) |
| set equally distanced nodes | |
| double | slv () |
| solve for the one potential contact point with minimal distance (might be negative) | |
| fmatvec::Mat | slvAll () |
| solve for all potential contact points | |
Private Attributes | |
|
DistanceFunction< double, double > * | func |
| distance-function holding all information for contact-search | |
| Function1< double, double > * | jac |
| Jacobian of root function part of distance function. | |
| double | s0 |
| initial value for Newton method | |
| fmatvec::Vec | nodes |
| nodes defining search-areas for Regula-Falsi | |
| bool | searchAll |
| all area searching by Regular-Falsi or known initial value for Newton-Method? | |
general class for contact search with respect to one contour-parameter
General remarks:
| MBSim::Contact1sSearch::Contact1sSearch | ( | DistanceFunction< double, double > * | func_ | ) | [inline] |
constructor
| root | function numerical Jacobian evaluation only local search |
| MBSim::Contact1sSearch::Contact1sSearch | ( | DistanceFunction< double, double > * | func_, |
| Function1< double, double > * | jac_ | ||
| ) | [inline] |
constructor
| root | function |
| Jacobian | evaluation only local search |
| void MBSim::Contact1sSearch::setEqualSpacing | ( | const int & | n, |
| const double & | x0, | ||
| const double & | dx | ||
| ) |
set equally distanced nodes
| number | of search areas |
| beginning | parameter |
| width |
| double MBSim::Contact1sSearch::slv | ( | ) |
solve for the one potential contact point with minimal distance (might be negative)
| fmatvec::Mat MBSim::Contact1sSearch::slvAll | ( | ) |
solve for all potential contact points
1.8.0