|
mbsim
4.0.0
MBSim Kernel
|
class for contact kinematics between convex frustum and a sphere More...
#include <sphere_polynomialfrustum.h>
Public Member Functions | |
| void | assignContours (const std::vector< Contour * > &contour) override |
| treats ordering of contours More... | |
| void | updateg (SingleContact &contact, int i=0) override |
| compute contact kinematics for a single contact More... | |
Public Member Functions inherited from MBSim::ContactKinematics | |
| ContactKinematics (int maxNumContacts_=1) | |
| constructor | |
| ~ContactKinematics () override=default | |
| destructor | |
| virtual void | calcisSize () |
| void | setisInd (int ind) |
| int | getisSize () |
| virtual void | updateInternalStateRef (fmatvec::Vec &curisParent, fmatvec::Vec &nextisParent) |
| virtual void | search () |
| virtual void | updateg (std::vector< SingleContact > &contact) |
| compute contact kinematics for all contacts More... | |
| virtual void | updatewb (std::vector< SingleContact > &contact) |
| compute contact kinematics on acceleration level for all contacts More... | |
| virtual void | updatewb (SingleContact &contact, int i=0) |
| compute contact kinematics on acceleration level for a single contact More... | |
| void | assignContours (Contour *contour1, Contour *contour2) |
| treats ordering of contours More... | |
| int | getMaximumNumberOfContacts () const |
| void | setGlobalSearch (bool gS_=true) |
| void | setInitialGlobalSearch (bool iGS_=true) |
| virtual void | setInitialGuess (const fmatvec::MatV &zeta0_) |
| set initial guess for root-finding | |
| void | setTolerance (double tol_) |
| set tolerance for root-finding | |
| void | setMaximumNumberOfContacts (int maxNumContacts_) |
| set maximum number of contacts | |
Protected Attributes | |
| int | isphere {-1} |
| contour index of sphere (in cpData) | |
| int | ifrustum {-1} |
| contour index of frustum (in cpData) | |
| Sphere * | sphere {nullptr} |
| pointer to the contour class for the sphere | |
| PolynomialFrustum * | frustum {nullptr} |
| pointer to the contour class for the polynomial frustum | |
| MBSim::MultiDimensionalNewtonMethod | newton |
| Newton solver for nonlinear problem. | |
| PolyFurstumSphereContact * | func {nullptr} |
| PolyFurstumSphereContactJacobian * | jacobian {nullptr} |
| jacobian function for solution | |
| GlobalResidualCriteriaFunction * | criteria |
| residual function for newton | |
| MBSim::StandardDampingFunction * | damping |
| damping function for newton | |
| fmatvec::Vec | x |
| solution vector of nonlinear system | |
Protected Attributes inherited from MBSim::ContactKinematics | |
| double | tol {1e-10} |
| tolerance for root-finding | |
| int | maxNumContacts {1} |
| maximum number of contacts | |
| fmatvec::Vec | curis |
| fmatvec::Vec | nextis |
| int | isInd { 0 } |
| int | isSize { 0 } |
| std::vector< Contour * > | contour |
| bool | gS {false} |
| bool | iGS {false} |
Additional Inherited Members | |
Static Public Member Functions inherited from MBSim::ContactKinematics | |
| static std::vector< double > | searchPossibleContactPoints (Function< double(double)> *func, double eta, const std::vector< double > &nodes, double tol) |
| static std::vector< double > | searchPossibleContactPoints (Function< fmatvec::Vec(fmatvec::Vec)> *func, int i, fmatvec::Vec &zeta, const std::vector< double > &nodes, double tol) |
class for contact kinematics between convex frustum and a sphere
|
overridevirtual |
|
overridevirtual |
compute contact kinematics for a single contact
| conctact | single contact |
| i | index of the contact that should be updated |
Reimplemented from MBSim::ContactKinematics.