MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::ChLcpConstraintTwoRollingT Class Reference

#include <CHlcpConstraintTwoRollingT.h>

Inheritance diagram for chrono::ChLcpConstraintTwoRollingT:

Inheritance graph
[legend]
Collaboration diagram for chrono::ChLcpConstraintTwoRollingT:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChLcpConstraintTwoRollingT ()
 ChLcpConstraintTwoRollingT (ChLcpVariablesBody *mvariables_a, ChLcpVariablesBody *mvariables_b)
 ChLcpConstraintTwoRollingT (const ChLcpConstraintTwoRollingT &other)
virtual ChLcpConstraintnew_Duplicate ()
ChLcpConstraintTwoRollingToperator= (const ChLcpConstraintTwoRollingT &other)
virtual bool IsLinear ()
virtual double Violation (double mc_i)
virtual void StreamIN (ChStreamInBinary &mstream)
virtual void StreamOUT (ChStreamOutBinary &mstream)


Detailed Description

This is used to make the rolling friction constraint. This must be used in twice copy each ChLcpConstraintTwoRollingN

Constructor & Destructor Documentation

chrono::ChLcpConstraintTwoRollingT::ChLcpConstraintTwoRollingT (  ) 

Default constructor.

chrono::ChLcpConstraintTwoRollingT::ChLcpConstraintTwoRollingT ( 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::ChLcpConstraintTwoRollingT::ChLcpConstraintTwoRollingT ( const ChLcpConstraintTwoRollingT other  ) 

Copy constructor.


Member Function Documentation

ChLcpConstraintTwoRollingT& chrono::ChLcpConstraintTwoRollingT::operator= ( const ChLcpConstraintTwoRollingT other  ) 

Assignment operator: copy from other object.

virtual bool chrono::ChLcpConstraintTwoRollingT::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::ChLcpConstraintTwoRollingT::Violation ( double  mc_i  )  [virtual]

The constraint is satisfied?

Reimplemented from chrono::ChLcpConstraint.

void chrono::ChLcpConstraintTwoRollingT::StreamIN ( ChStreamInBinary mstream  )  [virtual]

Method to allow deserializing a persistent binary archive (ex: a file) into transient data.

Reimplemented from chrono::ChLcpConstraintTwoBodies.

void chrono::ChLcpConstraintTwoRollingT::StreamOUT ( ChStreamOutBinary mstream  )  [virtual]

Method to allow serializing transient data into a persistent binary archive (ex: a file).

Reimplemented from chrono::ChLcpConstraintTwoBodies.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen