general class for contact search with respect to one contour-parameter
More...
#include <functions_contact.h>
|
DistanceFunction< double(double)> * | func |
| distance-function holding all information for contact-search
|
|
Function< double(double)> * | jac |
| Jacobian of root function part of distance function.
|
|
double | s0 |
| initial value for Newton method
|
|
fmatvec::Vec | nodes |
|
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
- Author
- Roland Zander
- Date
- 2009-07-10 some comments (Thorsten Schindler)
-
2010-03-07 added slvAll for finding "all" roots (Roland Zander)
General remarks:
- both operators () and [] are necessary to calculate the root-function "()" and the distance of possible contact points "[]"
- then it is possible to compare different root-values during e.g. regula falsi
MBSim::Contact1sSearch::Contact1sSearch |
( |
DistanceFunction< double(double)> * |
func_ | ) |
|
|
inline |
constructor
- Parameters
-
root | function numerical Jacobian evaluation only local search |
MBSim::Contact1sSearch::Contact1sSearch |
( |
DistanceFunction< double(double)> * |
func_, |
|
|
Function< double(double)> * |
jac_ |
|
) |
| |
|
inline |
constructor
- Parameters
-
root | function |
Jacobian | evaluation only local search |
void MBSim::Contact1sSearch::setEqualSpacing |
( |
const int & |
n, |
|
|
const double & |
x0, |
|
|
const double & |
dx |
|
) |
| |
set equally distanced nodes
- Parameters
-
number | of search areas |
beginning | parameter |
width | |
double MBSim::Contact1sSearch::slv |
( |
| ) |
|
solve for the one potential contact point with minimal distance (might be negative)
- Returns
- point with minimal distance at contour-parameter
Mat MBSim::Contact1sSearch::slvAll |
( |
| ) |
|
solve for all potential contact points
- Returns
- matrix holding LagrangeParameterPosition in col(0) and respective distances in col(1)
nodes defining search-areas for Regula-Falsi
The documentation for this class was generated from the following files:
- /home/mbsim/win64-dailyrelease/mbsim/kernel/mbsim/functions_contact.h
- /home/mbsim/win64-dailyrelease/mbsim/kernel/mbsim/functions_contact.cc