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

pairing point to frustum surface More...

#include <point_frustum.h>

Inheritance diagram for MBSim::ContactKinematicsPointFrustum:
[legend]

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 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
 
virtual void setSearchAllContactPoints (bool searchAllCP_=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
 
- Public Member Functions inherited from fmatvec::Atom
Atom & operator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool activeFlag)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const
 
void adoptMessageStreams (const Atom *src=nullptr)
 
std::ostream & msg (MsgType type) const
 
bool msgAct (MsgType type) const
 

Protected Attributes

int ipoint
 contour index
 
int ifrustum
 
Point * point
 contour classes
 
Frustum * frustum
 
- Protected Attributes inherited from MBSim::ContactKinematics
double tol {1e-10}
 tolerance for root-finding
 
int maxNumContacts {1}
 maximum number of contacts
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Detailed Description

pairing point to frustum surface

Author
Martin Foerg
Thorsten Schindler

REMARK The first tangential of the contact frame of the frustum points in positive axial direction, i.e. the height direction

Member Function Documentation

void MBSim::ContactKinematicsPointFrustum::assignContours ( const std::vector< Contour * > &  contour)
overridevirtual

treats ordering of contours

Parameters
contourvector

Implements MBSim::ContactKinematics.

void MBSim::ContactKinematicsPointFrustum::updateg ( SingleContact &  contact,
int  i = 0 
)
overridevirtual

compute contact kinematics for a single contact

Parameters
conctactsingle contact
iindex of the contact that should be updated

Reimplemented from MBSim::ContactKinematics.


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Home