mbsim  4.0.0
MBSim Kernel
MBSim::Contact Class Reference

class for contacts More...

#include <contact.h>

Inheritance diagram for MBSim::Contact:
[legend]

Public Member Functions

 Contact (const std::string &name="")
 constructor More...
 
 ~Contact () override
 destructor
 
void updatewb () override
 
void updateW (int i=0) override
 
void updateV (int i=0) override
 
void updateh (int i=0) override
 
void updateg () override
 
void updategd () override
 
void updateStopVector () override
 
void updateStopVectorParameters () override
 
void updateJacobians (int j=0) override
 
void updateWRef (fmatvec::Mat &ref, int j=0) override
 references to contact force direction matrix of dynamic system parent More...
 
void updateVRef (fmatvec::Mat &ref, int j=0) override
 references to condensed contact force direction matrix of dynamic system parent More...
 
void updatehRef (fmatvec::Vec &hRef, int j=0) override
 references to complete and link smooth force vector of dynamic system parent More...
 
void updaterRef (fmatvec::Vec &hRef, int j=0) override
 references to nonsmooth force vector of dynamic system parent More...
 
void updatewbRef (fmatvec::Vec &ref) override
 references to TODO of dynamic system parent More...
 
void updatelaRef (fmatvec::Vec &ref) override
 references to contact force parameter of dynamic system parent More...
 
void updateLaRef (fmatvec::Vec &ref) override
 references to contact force parameter of dynamic system parent More...
 
void updateInternalStateRef (fmatvec::Vec &cur, fmatvec::Vec &next) override
 references to internal state of dynamic system parent More...
 
void updategRef (fmatvec::Vec &ref) override
 references to contact relative distances of dynamic system parent More...
 
void updategdRef (fmatvec::Vec &ref) override
 references to contact relative velocities of dynamic system parent More...
 
void updateresRef (fmatvec::Vec &ref) override
 references to residuum of nonlinear contact equations of dynamic system parent More...
 
void updaterFactorRef (fmatvec::Vec &ref) override
 references to rfactors of dynamic system parent More...
 
void updatesvRef (fmatvec::Vec &ref) override
 references to stopvector of dynamic system parent (root function for event driven integration) More...
 
void updatejsvRef (fmatvec::VecInt &ref) override
 references to stopvector evaluation of dynamic system parent (root detection with corresponding bool array by event driven integrator) More...
 
void updateLinkStatusRef (fmatvec::VecInt &LinkStatusParent) override
 reference to vector of link status (for set valued links with piecewise link equations) More...
 
void updateLinkStatusRegRef (fmatvec::VecInt &LinkStatusRegParent) override
 reference to vector of link status (for single-valued links) More...
 
void calclaSize (int j) override
 calculates size of contact force parameters More...
 
void calcisSize () override
 
void calcgSize (int j) override
 calculates size of relative distances More...
 
void calcgdSize (int j) override
 calculates size of gap velocities More...
 
void calcrFactorSize (int j) override
 calculates size of rfactors More...
 
void calcsvSize () override
 calculates size of stopvector (root function for event driven integration) More...
 
void calcLinkStatusSize () override
 calculates size of vector LinkStatus More...
 
void calcLinkStatusRegSize () override
 calculates size of vector LinkStatusReg More...
 
void init (InitStage stage, const InitConfigSet &config) override
 plots time series header More...
 
bool isSetValued () const override
 asks the link if it contains force laws that contribute to the lagrange multiplier and is therefore set valued More...
 
bool isSingleValued () const override
 asks the link if it contains single valued force laws that contribute to the right-hand side vector h More...
 
void updateLinkStatus () override
 
void updateLinkStatusReg () override
 
bool isActive () const override
 
bool gActiveChanged () override
 
bool detectImpact () override
 
void solveImpactsFixpointSingle () override
 
void solveConstraintsFixpointSingle () override
 
void solveImpactsGaussSeidel () override
 
void solveConstraintsGaussSeidel () override
 
void solveImpactsRootFinding () override
 
void solveConstraintsRootFinding () override
 
void jacobianConstraints () override
 computes JACOBIAN and mass action matrix of nonlinear contact equations More...
 
void jacobianImpacts () override
 computes JACOBIAN and mass action matrix of nonlinear contact equations on velocity level More...
 
void updaterFactors () override
 update relaxation factors for contact equations More...
 
void checkConstraintsForTermination () override
 verify underlying force laws concerning given tolerances More...
 
void checkImpactsForTermination () override
 verify underlying force laws on velocity level concerning given tolerances More...
 
void checkActive (int j) override
 check if set-valued contacts are active and set corresponding attributes More...
 
void setGeneralizedForceTolerance (double tol) override
 
void setGeneralizedImpulseTolerance (double tol) override
 
void setGeneralizedRelativePositionTolerance (double tol) override
 
void setGeneralizedRelativeVelocityTolerance (double tol) override
 
void setGeneralizedRelativeAccelerationTolerance (double tol) override
 
void setGeneralizedRelativePositionCorrectionValue (double corr) override
 
void setGeneralizedRelativeVelocityCorrectionValue (double corr) override
 
void setrMax (double rMax_) override
 
void setLinkStatusInd (int LinkStatusInd_) override
 
void setLinkStatusRegInd (int LinkStatusRegInd_) override
 
void setsvInd (int svInd_) override
 
void setlaInd (int laInd_) override
 
void setgInd (int gInd_) override
 
void setgdInd (int gdInd_) override
 
void setrFactorInd (int rFactorInd_) override
 
void LinearImpactEstimation (double t, fmatvec::Vec &gInActive_, fmatvec::Vec &gdInActive_, int *IndInActive_, fmatvec::Vec &gAct_, int *IndActive_) override
 get gap distance and calculate gap velocity of unilateral links to estimate impacts within the next step More...
 
void SizeLinearImpactEstimation (int *sizeInActive_, int *sizeActive_) override
 calculates the number of active and inactive unilateral constraints and increments sizeActive/sizeInActive More...
 
void updatecorrRef (fmatvec::Vec &ref) override
 
void updatecorr (int j) override
 
void calccorrSize (int j) override
 
void setcorrInd (int corrInd_) override
 
void checkRoot () override
 
void plot () override
 plots time dependent data More...
 
void setDynamicSystemSolver (DynamicSystemSolver *sys) override
 sets the used dynamics system solver to the element More...
 
void resetUpToDate () override
 
void setNormalForceLaw (GeneralizedForceLaw *fcl_)
 
GeneralizedForceLawgetNormalForceLaw () const
 
void setNormalImpactLaw (GeneralizedImpactLaw *fnil_)
 
void setTangentialForceLaw (FrictionForceLaw *fdf_)
 
void setTangentialImpactLaw (FrictionImpactLaw *ftil_)
 
void setContactKinematics (ContactKinematics *ck)
 
ContactKinematicsgetContactKinematics () const
 
const std::vector< SingleContact > & getSubcontacts () const
 
virtual int getFrictionDirections ()
 
void connect (Contour *contour1, Contour *contour2)
 
ContourgetContour (int i)
 
SingleContactgetSingleContact (int i)
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void setGlobalSearch (bool gS_)
 
void setInitialGlobalSearch (bool iGS_)
 
void setInitialGuess (const fmatvec::MatV &zeta0_)
 
void setTolerance (double tol_)
 set tolerance for root-finding
 
void setMaximumNumberOfContacts (int maxNumContacts_)
 set maximum number of contacts
 
void updateGeneralizedPositions () override
 
std::shared_ptr< OpenMBV::GroupgetLinksOpenMBVGrp () override
 
H5::GroupBasegetLinksPlotGroup () override
 
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 constructor
 
 ~Element () override=default
 destructor
 
void throwError (const std::string &msg) const
 
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
 sets the used dynamics system solver to the element More...
 
virtual void plot ()
 plots time dependent data More...
 
virtual void plotAtSpecialEvent ()
 plots time dependent data at special events More...
 
const std::string & getName () const
 
void setName (const std::string &str)
 
void setPath (const std::string &str)
 
DynamicSystemSolvergetDynamicSystemSolver ()
 
virtual void init (InitStage stage, const InitConfigSet &config=InitConfigSet())
 plots time series header More...
 
virtual void createPlotGroup ()
 creates the plotGroup for H5-output More...
 
H5::GroupBasegetPlotGroup ()
 
virtual H5::GroupBasegetFramesPlotGroup ()
 
virtual H5::GroupBasegetContoursPlotGroup ()
 
virtual H5::GroupBasegetGroupsPlotGroup ()
 
virtual H5::GroupBasegetObjectsPlotGroup ()
 
virtual H5::GroupBasegetLinksPlotGroup ()
 
virtual H5::GroupBasegetConstraintsPlotGroup ()
 
virtual H5::GroupBasegetObserversPlotGroup ()
 
bool getPlotFeature (const PlotFeatureEnum &pf)
 
virtual void setPlotFeature (const PlotFeatureEnum &pf, bool value)
 Set a plot feature. More...
 
void setPlotFeatureForChildren (const PlotFeatureEnum &pf, bool value)
 Set a plot feature for the children of this object. More...
 
void setPlotFeatureRecursive (const PlotFeatureEnum &pf, bool value)
 Set a plot feature for this object and the children of this object. More...
 
template<class T >
void setPlotAttribute (const std::string &name, const T &value)
 Set a plot attribute: static data attached as key/value pairs to the plot datasets/groups.
 
void setPlotAttribute (const std::string &name)
 
virtual void initializeUsingXML (xercesc::DOMElement *element)
 
template<class T >
T * getByPath (const std::string &path, bool initialCaller=true) const
 Get the object of type T represented by the path path. Do not set any argurment other than path!
 
std::string getPath (const Element *relTo=nullptr, std::string sep="/") const
 Return the path of this object. If relativeTo is not NULL return a relative path to relativeTo. Do not set any argurment other than relTo and sep!
 
virtual ElementgetChildByContainerAndName (const std::string &container, const std::string &name) const
 Get the Element named name in the container named container. More...
 
virtual std::shared_ptr< OpenMBV::GroupgetOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetFramesOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetContoursOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetGroupsOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetObjectsOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetLinksOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetConstraintsOpenMBVGrp ()
 
virtual std::shared_ptr< OpenMBV::GroupgetObserversOpenMBVGrp ()
 
virtual ElementgetParent ()
 
virtual const ElementgetParent () const
 
virtual void setParent (Element *parent_)
 
std::vector< Element * > getDependencies () const
 checks dependency on other elements. More...
 
void addDependency (Element *ele)
 
int computeLevel ()
 computes the length of the pathes in the graph that represents the dependencies between all elements. More...
 
virtual void updatePositions (Frame *frame)
 
virtual void updateVelocities (Frame *frame)
 
virtual void updateAccelerations (Frame *frame)
 
virtual void updateJacobians (Frame *frame, int j=0)
 
virtual void updateGyroscopicAccelerations (Frame *frame)
 
virtual void resetUpToDate ()
 
const double & getTime () const
 
double getStepSize () const
 
const MBXMLUtils::DOMEvalExceptiongetDOMEvalError () const
 

Protected Attributes

std::vector< SingleContactcontacts
 list of the single sub-contact(-points)
 
ContactKinematicscontactKinematics {nullptr}
 contact kinematics
 
std::vector< Contour * > contour {2}
 
std::map< std::pair< std::string, std::size_t >, bool > plotFeatureMap
 plotFeatures of sub-contacts More...
 
GeneralizedForceLawfcl {nullptr}
 force laws in normal and tangential direction on acceleration and velocity level
 
FrictionForceLawfdf {nullptr}
 force law defining relation between tangential velocities and tangential forces
 
GeneralizedImpactLawfnil {nullptr}
 force law defining relation between penetration velocity and resulting normal impulses
 
FrictionImpactLawftil {nullptr}
 force law defining relation between tangential velocities and forces impulses
 
bool gS {false}
 
bool iGS {false}
 
fmatvec::MatV zeta0
 
double tol {1e-10}
 tolerance for root-finding
 
int maxNumContacts {-1}
 maximum number of contacts
 
- Protected Attributes inherited from MBSim::Element
Elementparent { nullptr }
 
std::string name
 name of element
 
std::string path
 The path of this object. Is set during the init stage reorganizeHierarchy. Before this the path is calculated dynamically using getPath() after this stage getPath just returns this value.
 
MBXMLUtils::DOMEvalException domEvalError
 Special XML helper variable.
 
DynamicSystemSolverds { nullptr }
 dynamic system
 
H5::VectorSerie< double > * plotVectorSerie { nullptr }
 time series
 
std::vector< double > plotVector
 one entry of time series
 
std::vector< std::string > plotColumns
 columns of time series
 
H5::GroupBaseplotGroup { nullptr }
 associated plot group
 
std::vector< Element * > dependency
 vector containing all dependencies.
 
PlotFeatureMap plotFeature
 plot feature
 
PlotFeatureMap plotFeatureForChildren
 
std::map< std::string, std::variant< std::monostate, int, double, std::string, std::vector< int >, std::vector< double >, std::vector< std::vector< double > > > > plotAttribute
 

Private Attributes

std::string saved_ref1
 
std::string saved_ref2
 

Additional Inherited Members

- Public Types inherited from MBSim::Element
enum  InitStage {
  resolveStringRef =0 , preInit , plotting , unknownStage ,
  LASTINITSTAGE
}
 The stages of the initialization. More...
 
- Protected Member Functions inherited from MBSim::Element
void updatePlotFeatures ()
 
void addToPlot (const std::string &name)
 
void addToPlot (const std::string &name, int size)
 
void addToPlot (const std::string &name, const std::vector< std::string > &iname)
 
template<class AT >
void plot (const AT &x)
 
template<class Type , class AT >
void plot (const fmatvec::Vector< Type, AT > &x)
 

Detailed Description

class for contacts

Author
Martin Foerg
Date
2009-04-02 some comments (Thorsten Schindler)
2009-07-16 splitted link / object right hand side (Thorsten Schindler)
2009-08-03 contacts can now visualize their ContactPointFrames (Markus Schneider)
2010-07-06 added LinkStatus and LinearImpactEstimation for timestepper ssc (Robert Huber)
2012-05-08 added LinkStatusReg for AutoTimeSteppingSSCIntegrator (Jan Clauberg)
2014-09-16 contact forces are calculated on acceleration level (Thorsten Schindler)

basic class for contacts between contours, mainly implementing geometrical informations of contact-pairings

Remarks:

  • constitutive laws on acceleration and velocity level have to be set pairwise

Constructor & Destructor Documentation

◆ Contact()

MBSim::Contact::Contact ( const std::string &  name = "")
inline

constructor

Parameters
nameof contact

Member Function Documentation

◆ calccorrSize()

void MBSim::Contact::calccorrSize ( int  j)
overridevirtual

Reimplemented from MBSim::Link.

◆ calcgdSize()

void MBSim::Contact::calcgdSize ( int  j)
overridevirtual

calculates size of gap velocities

Parameters
flagto decide which contacts are included in the calculation

see SingleContact for the implementation and DynamicSystem for explanation

Reimplemented from MBSim::Link.

◆ calcgSize()

void MBSim::Contact::calcgSize ( int  j)
overridevirtual

calculates size of relative distances

Reimplemented from MBSim::Link.

◆ calcisSize()

void MBSim::Contact::calcisSize ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ calclaSize()

void MBSim::Contact::calclaSize ( int  j)
overridevirtual

calculates size of contact force parameters

Reimplemented from MBSim::Link.

◆ calcLinkStatusRegSize()

void MBSim::Contact::calcLinkStatusRegSize ( )
overridevirtual

calculates size of vector LinkStatusReg

Reimplemented from MBSim::Link.

◆ calcLinkStatusSize()

void MBSim::Contact::calcLinkStatusSize ( )
overridevirtual

calculates size of vector LinkStatus

Reimplemented from MBSim::Link.

◆ calcrFactorSize()

void MBSim::Contact::calcrFactorSize ( int  j)
overridevirtual

calculates size of rfactors

Reimplemented from MBSim::Link.

◆ calcsvSize()

void MBSim::Contact::calcsvSize ( )
overridevirtual

calculates size of stopvector (root function for event driven integration)

Reimplemented from MBSim::Link.

◆ checkActive()

void MBSim::Contact::checkActive ( int  j)
overridevirtual

check if set-valued contacts are active and set corresponding attributes

Parameters
flagto decide which criteria are used to define 'activity'

see SingleContact for the implementation and DynamicSystem for explanation

Reimplemented from MBSim::Link.

◆ checkConstraintsForTermination()

void MBSim::Contact::checkConstraintsForTermination ( )
overridevirtual

verify underlying force laws concerning given tolerances

Reimplemented from MBSim::Link.

◆ checkImpactsForTermination()

void MBSim::Contact::checkImpactsForTermination ( )
overridevirtual

verify underlying force laws on velocity level concerning given tolerances

Reimplemented from MBSim::Link.

◆ checkRoot()

void MBSim::Contact::checkRoot ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ connect()

void MBSim::Contact::connect ( Contour contour1,
Contour contour2 
)

connect two contours

Parameters
contour0first contour
contour1second contour
contactKinematicsThe contact kinematics that should be used to compute the contact point.
nameName of the contact in the output

◆ detectImpact()

bool MBSim::Contact::detectImpact ( )
overridevirtual
Returns
has an impact occured?

Reimplemented from MBSim::Link.

◆ gActiveChanged()

bool MBSim::Contact::gActiveChanged ( )
overridevirtual
Returns
has the relative distance vector changed?

Implements MBSim::Link.

◆ getFrictionDirections()

int MBSim::Contact::getFrictionDirections ( )
virtual
Returns
number of considered friction directions

◆ getLinksOpenMBVGrp()

std::shared_ptr< OpenMBV::Group > MBSim::Contact::getLinksOpenMBVGrp ( )
inlineoverridevirtual

Reimplemented from MBSim::Element.

◆ getLinksPlotGroup()

H5::GroupBase * MBSim::Contact::getLinksPlotGroup ( )
inlineoverridevirtual

Reimplemented from MBSim::Element.

◆ init()

void MBSim::Contact::init ( InitStage  stage,
const InitConfigSet &  config 
)
overridevirtual

plots time series header

Parameters
invocingparent class

Reimplemented from MBSim::Element.

◆ initializeUsingXML()

void MBSim::Contact::initializeUsingXML ( xercesc::DOMElement *  element)
overridevirtual

Reimplemented from MBSim::Element.

◆ isActive()

bool MBSim::Contact::isActive ( ) const
overridevirtual
Returns
are link equations active?

Implements MBSim::Link.

◆ isSetValued()

bool MBSim::Contact::isSetValued ( ) const
overridevirtual

asks the link if it contains force laws that contribute to the lagrange multiplier and is therefore set valued

Returns
set valued force laws used within the link?

Reimplemented from MBSim::Link.

◆ isSingleValued()

bool MBSim::Contact::isSingleValued ( ) const
overridevirtual

asks the link if it contains single valued force laws that contribute to the right-hand side vector h

Returns
single valued force laws used within link?

Reimplemented from MBSim::Link.

◆ jacobianConstraints()

void MBSim::Contact::jacobianConstraints ( )
overridevirtual

computes JACOBIAN and mass action matrix of nonlinear contact equations

Reimplemented from MBSim::Link.

◆ jacobianImpacts()

void MBSim::Contact::jacobianImpacts ( )
overridevirtual

computes JACOBIAN and mass action matrix of nonlinear contact equations on velocity level

Reimplemented from MBSim::Link.

◆ LinearImpactEstimation()

void MBSim::Contact::LinearImpactEstimation ( double  t,
fmatvec::Vec &  gInActive_,
fmatvec::Vec &  gdInActive_,
int *  IndInActive_,
fmatvec::Vec &  gAct_,
int *  IndActive_ 
)
overridevirtual

get gap distance and calculate gap velocity of unilateral links to estimate impacts within the next step

Parameters
gInActivegap distance of inactive links (return)
gdInActivegap velocities of inactive links (return)
IndInActiveindex for gInActive/gdInActive; incremented with size after storage (return and input)
gActgap distance of active links (return)
IndActiveindex for gActive; incremented with size after storage (return and input)

Reimplemented from MBSim::Link.

◆ plot()

void MBSim::Contact::plot ( )
overridevirtual

plots time dependent data

Parameters
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::Element.

◆ resetUpToDate()

void MBSim::Contact::resetUpToDate ( )
overridevirtual

Reimplemented from MBSim::Element.

◆ setcorrInd()

void MBSim::Contact::setcorrInd ( int  corrInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setDynamicSystemSolver()

void MBSim::Contact::setDynamicSystemSolver ( DynamicSystemSolver sys)
overridevirtual

sets the used dynamics system solver to the element

Parameters
pointerto the dynamic system solver of which the element is part of

Reimplemented from MBSim::Element.

◆ setgdInd()

void MBSim::Contact::setgdInd ( int  gdInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedForceTolerance()

void MBSim::Contact::setGeneralizedForceTolerance ( double  tol)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedImpulseTolerance()

void MBSim::Contact::setGeneralizedImpulseTolerance ( double  tol)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedRelativeAccelerationTolerance()

void MBSim::Contact::setGeneralizedRelativeAccelerationTolerance ( double  tol)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedRelativePositionCorrectionValue()

void MBSim::Contact::setGeneralizedRelativePositionCorrectionValue ( double  corr)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedRelativePositionTolerance()

void MBSim::Contact::setGeneralizedRelativePositionTolerance ( double  tol)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedRelativeVelocityCorrectionValue()

void MBSim::Contact::setGeneralizedRelativeVelocityCorrectionValue ( double  corr)
overridevirtual

Reimplemented from MBSim::Link.

◆ setGeneralizedRelativeVelocityTolerance()

void MBSim::Contact::setGeneralizedRelativeVelocityTolerance ( double  tol)
overridevirtual

Reimplemented from MBSim::Link.

◆ setgInd()

void MBSim::Contact::setgInd ( int  gInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setlaInd()

void MBSim::Contact::setlaInd ( int  laInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setLinkStatusInd()

void MBSim::Contact::setLinkStatusInd ( int  LinkStatusInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setLinkStatusRegInd()

void MBSim::Contact::setLinkStatusRegInd ( int  LinkStatusRegInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setrFactorInd()

void MBSim::Contact::setrFactorInd ( int  rFactorInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setrMax()

void MBSim::Contact::setrMax ( double  rMax_)
overridevirtual

Reimplemented from MBSim::Link.

◆ setsvInd()

void MBSim::Contact::setsvInd ( int  svInd_)
overridevirtual

Reimplemented from MBSim::Link.

◆ SizeLinearImpactEstimation()

void MBSim::Contact::SizeLinearImpactEstimation ( int *  sizeInActive_,
int *  sizeActive_ 
)
overridevirtual

calculates the number of active and inactive unilateral constraints and increments sizeActive/sizeInActive

Reimplemented from MBSim::Link.

◆ solveConstraintsFixpointSingle()

void MBSim::Contact::solveConstraintsFixpointSingle ( )
overridevirtual

solve contact equations of motion with single step fixed point scheme

Reimplemented from MBSim::Link.

◆ solveConstraintsGaussSeidel()

void MBSim::Contact::solveConstraintsGaussSeidel ( )
overridevirtual

solve contact equations of motion with Gauss-Seidel scheme

Reimplemented from MBSim::Link.

◆ solveConstraintsRootFinding()

void MBSim::Contact::solveConstraintsRootFinding ( )
overridevirtual

solve contact equations of motion with Newton scheme

Reimplemented from MBSim::Link.

◆ solveImpactsFixpointSingle()

void MBSim::Contact::solveImpactsFixpointSingle ( )
overridevirtual

solve impact equations of motion with single step fixed point scheme on velocity level

Parameters
timestep-size

Reimplemented from MBSim::Link.

◆ solveImpactsGaussSeidel()

void MBSim::Contact::solveImpactsGaussSeidel ( )
overridevirtual

solve impact equations of motion with Gauss-Seidel scheme on velocity level

Parameters
timestep-size

Reimplemented from MBSim::Link.

◆ solveImpactsRootFinding()

void MBSim::Contact::solveImpactsRootFinding ( )
overridevirtual

solve impact equations of motion with Newton scheme on velocity level

Parameters
timestep-size

Reimplemented from MBSim::Link.

◆ updatecorr()

void MBSim::Contact::updatecorr ( int  j)
overridevirtual

Reimplemented from MBSim::Link.

◆ updatecorrRef()

void MBSim::Contact::updatecorrRef ( fmatvec::Vec &  ref)
overridevirtual

Reimplemented from MBSim::Link.

◆ updateg()

void MBSim::Contact::updateg ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updategd()

void MBSim::Contact::updategd ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updategdRef()

void MBSim::Contact::updategdRef ( fmatvec::Vec &  ref)
overridevirtual

references to contact relative velocities of dynamic system parent

Reimplemented from MBSim::Link.

◆ updateGeneralizedPositions()

void MBSim::Contact::updateGeneralizedPositions ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updategRef()

void MBSim::Contact::updategRef ( fmatvec::Vec &  ref)
overridevirtual

references to contact relative distances of dynamic system parent

Reimplemented from MBSim::Link.

◆ updateh()

void MBSim::Contact::updateh ( int  i = 0)
overridevirtual

Reimplemented from MBSim::Link.

◆ updatehRef()

void MBSim::Contact::updatehRef ( fmatvec::Vec &  hRef,
int  i = 0 
)
overridevirtual

references to complete and link smooth force vector of dynamic system parent

Implements MBSim::Link.

◆ updateInternalStateRef()

void MBSim::Contact::updateInternalStateRef ( fmatvec::Vec &  cur,
fmatvec::Vec &  next 
)
overridevirtual

references to internal state of dynamic system parent

Reimplemented from MBSim::Link.

◆ updateJacobians()

void MBSim::Contact::updateJacobians ( int  j = 0)
overridevirtual

Reimplemented from MBSim::Link.

◆ updatejsvRef()

void MBSim::Contact::updatejsvRef ( fmatvec::VecInt &  jsvParent)
overridevirtual

references to stopvector evaluation of dynamic system parent (root detection with corresponding bool array by event driven integrator)

Reimplemented from MBSim::Link.

◆ updatelaRef()

void MBSim::Contact::updatelaRef ( fmatvec::Vec &  ref)
overridevirtual

references to contact force parameter of dynamic system parent

Reimplemented from MBSim::Link.

◆ updateLaRef()

void MBSim::Contact::updateLaRef ( fmatvec::Vec &  ref)
overridevirtual

references to contact force parameter of dynamic system parent

Reimplemented from MBSim::Link.

◆ updateLinkStatus()

void MBSim::Contact::updateLinkStatus ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updateLinkStatusRef()

void MBSim::Contact::updateLinkStatusRef ( fmatvec::VecInt &  LinkStatusParent)
overridevirtual

reference to vector of link status (for set valued links with piecewise link equations)

Reimplemented from MBSim::Link.

◆ updateLinkStatusReg()

void MBSim::Contact::updateLinkStatusReg ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updateLinkStatusRegRef()

void MBSim::Contact::updateLinkStatusRegRef ( fmatvec::VecInt &  LinkStatusRegParent)
overridevirtual

reference to vector of link status (for single-valued links)

Reimplemented from MBSim::Link.

◆ updateresRef()

void MBSim::Contact::updateresRef ( fmatvec::Vec &  ref)
overridevirtual

references to residuum of nonlinear contact equations of dynamic system parent

Reimplemented from MBSim::Link.

◆ updaterFactorRef()

void MBSim::Contact::updaterFactorRef ( fmatvec::Vec &  ref)
overridevirtual

references to rfactors of dynamic system parent

Reimplemented from MBSim::Link.

◆ updaterFactors()

void MBSim::Contact::updaterFactors ( )
overridevirtual

update relaxation factors for contact equations

Reimplemented from MBSim::Link.

◆ updaterRef()

void MBSim::Contact::updaterRef ( fmatvec::Vec &  ref,
int  i = 0 
)
overridevirtual

references to nonsmooth force vector of dynamic system parent

Implements MBSim::Link.

◆ updateStopVector()

void MBSim::Contact::updateStopVector ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updateStopVectorParameters()

void MBSim::Contact::updateStopVectorParameters ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updatesvRef()

void MBSim::Contact::updatesvRef ( fmatvec::Vec &  sv)
overridevirtual

references to stopvector of dynamic system parent (root function for event driven integration)

Reimplemented from MBSim::Link.

◆ updateV()

void MBSim::Contact::updateV ( int  i = 0)
overridevirtual

Reimplemented from MBSim::Link.

◆ updateVRef()

void MBSim::Contact::updateVRef ( fmatvec::Mat &  ref,
int  i = 0 
)
overridevirtual

references to condensed contact force direction matrix of dynamic system parent

Implements MBSim::Link.

◆ updateW()

void MBSim::Contact::updateW ( int  i = 0)
overridevirtual

Reimplemented from MBSim::Link.

◆ updatewb()

void MBSim::Contact::updatewb ( )
overridevirtual

Reimplemented from MBSim::Link.

◆ updatewbRef()

void MBSim::Contact::updatewbRef ( fmatvec::Vec &  ref)
overridevirtual

references to TODO of dynamic system parent

Reimplemented from MBSim::Link.

◆ updateWRef()

void MBSim::Contact::updateWRef ( fmatvec::Mat &  ref,
int  i = 0 
)
overridevirtual

references to contact force direction matrix of dynamic system parent

Implements MBSim::Link.

Member Data Documentation

◆ plotFeatureMap

std::map<std::pair<std::string, std::size_t>, bool> MBSim::Contact::plotFeatureMap
protected

plotFeatures of sub-contacts

Todo:
: see remark of ckNames

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