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


Public Member Functions | |
| ChLcpConstraintTwoFriction () | |
| ChLcpConstraintTwoFriction (ChLcpVariablesBody *mvariables_a, ChLcpVariablesBody *mvariables_b) | |
| ChLcpConstraintTwoFriction (const ChLcpConstraintTwoFriction &other) | |
| virtual ChLcpConstraint * | new_Duplicate () |
| ChLcpConstraintTwoFriction & | operator= (const ChLcpConstraintTwoFriction &other) |
| virtual bool | IsLinear () |
| double | GetFrictionCoefficient () |
| void | SetFrictionCoefficient (double mcoeff) |
| virtual double | Violation (double mc_i) |
| virtual void | StreamIN (ChStreamInBinary &mstream) |
| virtual void | StreamOUT (ChStreamOutBinary &mstream) |
Protected Attributes | |
| double | friction |
| chrono::ChLcpConstraintTwoFriction::ChLcpConstraintTwoFriction | ( | ) |
Default constructor.
| chrono::ChLcpConstraintTwoFriction::ChLcpConstraintTwoFriction | ( | ChLcpVariablesBody * | mvariables_a, | |
| ChLcpVariablesBody * | mvariables_b | |||
| ) |
Construct and immediately set references to variables, also setting the and the normal constraint other tangential constraint (the latter is mandatory only for the second of the two tangential constraints)
| chrono::ChLcpConstraintTwoFriction::ChLcpConstraintTwoFriction | ( | const ChLcpConstraintTwoFriction & | other | ) |
Copy constructor.
| ChLcpConstraintTwoFriction& chrono::ChLcpConstraintTwoFriction::operator= | ( | const ChLcpConstraintTwoFriction & | other | ) |
Assignment operator: copy from other object.
| virtual bool chrono::ChLcpConstraintTwoFriction::IsLinear | ( | ) | [virtual] |
Tells that this constraint is not linear, that is: it cannot be solved with a plain simplex solver.
Reimplemented from chrono::ChLcpConstraint.
| double chrono::ChLcpConstraintTwoFriction::GetFrictionCoefficient | ( | ) |
Get the friction coefficient.
| void chrono::ChLcpConstraintTwoFriction::SetFrictionCoefficient | ( | double | mcoeff | ) |
Set the friction coefficient.
| double chrono::ChLcpConstraintTwoFriction::Violation | ( | double | mc_i | ) | [virtual] |
| void chrono::ChLcpConstraintTwoFriction::StreamIN | ( | ChStreamInBinary & | mstream | ) | [virtual] |
Method to allow deserializing a persistent binary archive (ex: a file) into transient data.
Reimplemented from chrono::ChLcpConstraintTwoBodies.
Reimplemented in chrono::ChLcpConstraintTwoFrictionApprox.
| void chrono::ChLcpConstraintTwoFriction::StreamOUT | ( | ChStreamOutBinary & | mstream | ) | [virtual] |
Method to allow serializing transient data into a persistent binary archive (ex: a file).
Reimplemented from chrono::ChLcpConstraintTwoBodies.
Reimplemented in chrono::ChLcpConstraintTwoFrictionApprox.
double chrono::ChLcpConstraintTwoFriction::friction [protected] |
the friction coefficient 'f', for sqrt(Tx^2+Ty^2)<f*Nz
CHRONO::ENGINE