Public Member Functions |
|
| ContourPairing (const std::string &name_, Contour *contour1, Contour *contour2, bool plotContact=true, ContactKinematics *contactKinematics_=0) |
|
void | updateStateDependentVariables (double t) |
|
void | updateJacobians (double t, int j=0) |
|
void | updateInverseKineticsJacobians (double t) |
|
void | closePlot () |
| | closes plot file
|
|
void | setContactKinematics (ContactKinematics *ck) |
|
ContactKinematics * | getContactKinematics () const |
|
ContourPointData * | getContourPointData () |
|
Contour * | getContour (const int &index) |
|
bool | isActive () |
|
bool | wasActive () |
|
fmatvec::Vec & | getRelativeDistance () |
|
fmatvec::Vec & | getRelativeVelocity () |
|
fmatvec::Vec & | getContactForce () |
|
fmatvec::Vec & | getForce (int index) |
|
void | setFrictionForceLaw (FrictionForceLaw *frictionForceLaw_) |
|
void | init (InitStage stage) |
| | initialize object at start of simulation with respect to contours and frames
|
| void | plot (double t, double dt) |
| | plots time dependent data
|
|
void | updateg (double t) |
|
void | updategd (double t) |
|
void | checkActiveg () |
|
int | getFrictionDirections () |
|
FrictionForceLaw * | getFrictionForceLaw () |
Protected Attributes |
| Contour * | contour1 |
| | first of the two contours, that build the contour pairing together
|
|
Contour * | contour2 |
| | second of the two contours, that build the contour pairing together
|
|
ContactKinematics * | contactKinematics |
| | saves contact kinematics for each contour-pairing
|
|
FrictionForceLaw * | fdf |
| | friction force law between contours
|
| std::vector< ContourPointData * > | cpData |
| | an array of contourPointData (length of 2) for definition of relative contact situation
|
|
double | gTol |
| | tolerance value for active contact or not
|
|
bool | gActive |
| | is contour pairing active in current time step
|
|
bool | gActive0 |
| | was contour pairing active in last time step
|
|
fmatvec::Vec | gk |
| | relative distance of the contours
|
|
fmatvec::Vec | gdk |
| | relative velocities of the contours
|
|
fmatvec::Vec | lak |
| | vector of the contact force
|
|
std::vector< fmatvec::Vec * > | WF |
| | force vectors for both contours, that are transformed into the DOF space with the Jacobian matrix (updateh())
|