|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHlcpConstraintTwoContact.h>


Public Member Functions | |
| ChLcpConstraintTwoContact () | |
| ChLcpConstraintTwoContact (ChLcpVariablesBody *mvariables_a, ChLcpVariablesBody *mvariables_b) | |
| ChLcpConstraintTwoContact (const ChLcpConstraintTwoContact &other) | |
|
virtual ChLcpConstraintTwoContact * | new_Duplicate () |
| ChLcpConstraintTwoContact & | operator= (const ChLcpConstraintTwoContact &other) |
| virtual void | Project () |
| virtual void | StreamIN (ChStreamInBinary &mstream) |
| virtual void | StreamOUT (ChStreamOutBinary &mstream) |
| chrono::ChLcpConstraintTwoContact::ChLcpConstraintTwoContact | ( | ) |
Default constructor.
| chrono::ChLcpConstraintTwoContact::ChLcpConstraintTwoContact | ( | ChLcpVariablesBody * | mvariables_a, | |
| ChLcpVariablesBody * | mvariables_b | |||
| ) |
Construct and immediately set references to variables.
| chrono::ChLcpConstraintTwoContact::ChLcpConstraintTwoContact | ( | const ChLcpConstraintTwoContact & | other | ) |
Copy constructor.
| ChLcpConstraintTwoContact& chrono::ChLcpConstraintTwoContact::operator= | ( | const ChLcpConstraintTwoContact & | other | ) |
Assignment operator: copy from other object.
| virtual void chrono::ChLcpConstraintTwoContact::Project | ( | ) | [virtual] |
For iterative solvers: project the value of a possible 'l_i' value of constraint reaction onto admissible orthant/set. Default behavior: if constraint is unilateral and l_i<0, reset l_i=0 This function MAY BE OVERRIDDEN by specialized inherited classes! For example, a bilateral constraint can do nothing, a monolateral: l_i= CHmax(0., l_i); a 'boxed constraint': l_i= CHmin(CHmax(min., l_i), max); etc. etc.
Reimplemented from chrono::ChLcpConstraint.
| void chrono::ChLcpConstraintTwoContact::StreamIN | ( | ChStreamInBinary & | mstream | ) | [virtual] |
Method to allow deserializing a persistent binary archive (ex: a file) into transient data.
Reimplemented from chrono::ChLcpConstraintTwoBodies.
| void chrono::ChLcpConstraintTwoContact::StreamOUT | ( | ChStreamOutBinary & | mstream | ) | [virtual] |
Method to allow serializing transient data into a persistent binary archive (ex: a file).
Reimplemented from chrono::ChLcpConstraintTwoBodies.
CHRONO::ENGINE