MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::ChLcpConstraintTwoFrictionT Class Reference

#include <CHlcpConstraintTwoFrictionT.h>

Inheritance diagram for chrono::ChLcpConstraintTwoFrictionT:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

Base class for friction constraints (see specialized children classes for more details - this is mostly an interface)

Constructor & Destructor Documentation

chrono::ChLcpConstraintTwoFrictionT::ChLcpConstraintTwoFrictionT (  ) 

Default constructor.

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

Copy constructor.


Member Function Documentation

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

Assignment operator: copy from other object.

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

The constraint is satisfied?

Reimplemented from chrono::ChLcpConstraint.

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

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

Reimplemented from chrono::ChLcpConstraintTwoBodies.

void chrono::ChLcpConstraintTwoFrictionT::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