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

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

#include <functions_contact.h>

Public Member Functions

 Contact1sSearch ()
 standard constructor
 
 Contact1sSearch (DistanceFunction< double(double)> *func_)
 constructor More...
 
 Contact1sSearch (DistanceFunction< double(double)> *func_, Function< double(double)> *jac_)
 constructor More...
 
void setFunction (DistanceFunction< double(double)> *func_)
 
void setJacobianFunction (Function< double(double)> *jac_)
 
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 More...
 
double slv ()
 solve for the one potential contact point with minimal distance (might be negative) More...
 
fmatvec::Mat slvAll ()
 solve for all potential contact points More...
 

Private Attributes

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?
 

Detailed Description

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:

Constructor & Destructor Documentation

MBSim::Contact1sSearch::Contact1sSearch ( DistanceFunction< double(double)> *  func_)
inline

constructor

Parameters
rootfunction numerical Jacobian evaluation only local search
MBSim::Contact1sSearch::Contact1sSearch ( DistanceFunction< double(double)> *  func_,
Function< double(double)> *  jac_ 
)
inline

constructor

Parameters
rootfunction
Jacobianevaluation only local search

Member Function Documentation

void MBSim::Contact1sSearch::setEqualSpacing ( const int &  n,
const double &  x0,
const double &  dx 
)

set equally distanced nodes

Parameters
numberof search areas
beginningparameter
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)

Member Data Documentation

fmatvec::Vec MBSim::Contact1sSearch::nodes
private

nodes defining search-areas for Regula-Falsi


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML