mbsim
4.0.0
MBSim Kernel
|
pairing sphere to plate More...
#include <sphere_plate.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... | |
![]() | |
ContactKinematics (int maxNumContacts_=1) | |
constructor | |
~ContactKinematics () override=default | |
destructor | |
virtual void | assignContours (const std::vector< Contour * > &contour_) |
treats ordering of contours More... | |
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 | updateg (SingleContact &contact, int i=0) |
compute contact kinematics for a single contact 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 More... | |
void | setTolerance (double tol_) |
set tolerance for root-finding | |
void | setMaximumNumberOfContacts (int maxNumContacts_) |
set maximum number of contacts | |
Private Attributes | |
int | isphere |
contour index | |
int | iplate |
Sphere * | sphere |
contour classes | |
Plate * | plate |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
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} |
pairing sphere to plate
: edge problems not handled yet
: what about contact "below" plate
|
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.