MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::ChLinkBrake Class Reference

#include <CHlinkBrake.h>

Inheritance diagram for chrono::ChLinkBrake:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void Copy (ChLinkBrake *source)
virtual ChLinknew_Duplicate ()
virtual void UpdateTime (double time)
virtual void UpdateForces (double mytime)
virtual void SetDisabled (bool mdis)
double Get_brake_torque ()
void Set_brake_torque (double mset)
double Get_stick_ratio ()
void Set_stick_ratio (double mset)
int Get_brake_mode ()
void Set_brake_mode (int mmode)
virtual void StreamIN (ChStreamInBinary &mstream)
virtual void StreamOUT (ChStreamOutBinary &mstream)

Protected Types

enum  eChBrmode { BRAKE_ROTATION = 0, BRAKE_TRANSLATEX }

Protected Attributes

double brake_torque
double stick_ratio
int brake_mode
int last_dir
int must_stick


Detailed Description

Link representing a brake between two rigid bodies, including the sticking effect. It could be used to represent also linear brakes. This constraint can behave also as a clutch.

Member Function Documentation

void chrono::ChLinkBrake::UpdateTime ( double  time  )  [virtual]

UPDATING PROCEDURES

Reimplemented from chrono::ChLinkLock.

void chrono::ChLinkBrake::UpdateForces ( double  mytime  )  [virtual]

Inherits, and updates the C_force and C_torque 'intuitive' forces, adding the effects of the contained ChLinkForce objects. (Default: inherits parent UpdateForces(), then C_force and C_torque are incremented with the Link::ChLinkForces objects)

Reimplemented from chrono::ChLinkLock.

void chrono::ChLinkBrake::SetDisabled ( bool  mdis  )  [virtual]

User can use this to enable/disable all the constraint of the link as desired.

Reimplemented from chrono::ChLinkMasked.

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

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

Reimplemented from chrono::ChLinkLock.

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

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

Reimplemented from chrono::ChLinkLock.


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