23 #include <mbsim/links/single_contact.h> 28 class ContactKinematics;
29 class GeneralizedForceLaw;
30 class GeneralizedImpactLaw;
31 class FrictionForceLaw;
32 class FrictionImpactLaw;
62 void updatewb()
override;
63 void updateW(
int i = 0)
override;
64 void updateV(
int i = 0)
override;
65 void updateh(
int i = 0)
override;
66 void updateg()
override;
67 void updategd()
override;
68 void updateStopVector()
override;
69 void updateStopVectorParameters()
override;
70 void updateJacobians(
int j = 0)
override;
96 void init(
InitStage stage,
const InitConfigSet &config)
override;
99 void updateLinkStatus()
override;
100 void updateLinkStatusReg()
override;
116 void setGeneralizedForceTolerance(
double tol)
override;
117 void setGeneralizedImpulseTolerance(
double tol)
override;
118 void setGeneralizedRelativePositionTolerance(
double tol)
override;
119 void setGeneralizedRelativeVelocityTolerance(
double tol)
override;
120 void setGeneralizedRelativeAccelerationTolerance(
double tol)
override;
121 void setGeneralizedRelativePositionCorrectionValue(
double corr)
override;
122 void setGeneralizedRelativeVelocityCorrectionValue(
double corr)
override;
123 void setrMax(
double rMax_)
override;
124 void setLinkStatusInd(
int LinkStatusInd_)
override;
125 void setLinkStatusRegInd(
int LinkStatusRegInd_)
override;
126 void setsvInd(
int svInd_)
override;
127 void setlaInd(
int laInd_)
override;
128 void setgInd(
int gInd_)
override;
129 void setgdInd(
int gdInd_)
override;
130 void setrFactorInd(
int rFactorInd_)
override;
134 void updatecorr(
int j)
override;
135 void calccorrSize(
int j)
override;
136 void setcorrInd(
int corrInd_)
override;
137 void checkRoot()
override;
141 void plot()
override;
145 void resetUpToDate()
override;
151 void setNormalImpactLaw(GeneralizedImpactLaw *fnil_);
152 void setTangentialForceLaw(FrictionForceLaw *fdf_);
153 void setTangentialImpactLaw(FrictionImpactLaw *ftil_);
157 const std::vector<SingleContact>& getSubcontacts()
const {
return contacts; }
172 void connect(Contour *contour1, Contour* contour2);
174 Contour* getContour(
int i) {
return contour[i]; }
176 SingleContact& getSingleContact(
int i) {
return contacts[i]; }
178 void initializeUsingXML(xercesc::DOMElement *element)
override;
180 void setSearchAllContactPoints(
bool searchAllCP_) { searchAllCP = searchAllCP_; }
181 void setInitialGuess(
const fmatvec::MatV &zeta0_) { zeta0 <<= zeta0_; }
193 void updateGeneralizedPositions()
override;
206 std::vector<Contour*> contour{2};
235 bool searchAllCP{
false};
250 std::string saved_ref1, saved_ref2;
basic force law on acceleration level for constraint description
Definition: generalized_force_law.h:32
general link to one or more objects
Definition: link.h:48
solver interface for modelling and simulation of dynamic systems
Definition: dynamic_system_solver.h:56
basic friction force law on velocity level for constraint description
Definition: friction_impact_law.h:32
InitStage
The stages of the initialization.
Definition: element.h:62
basic friction force law on acceleration level for constraint description
Definition: friction_force_law.h:32
basic force law on velocity level for constraint description
Definition: generalized_impact_law.h:32
std::string name
name of element
Definition: element.h:235
namespace MBSim
Definition: eigenanalyzer.cc:47