chrono::ChLinkLimit Class Reference

Description

Class for limits in ChLinkLock joints.

#include <ChLimit.h>

Collaboration diagram for chrono::ChLinkLimit:

Public Member Functions

 ChLinkLimit (const ChLinkLimit &other)
 
ChLinkLimitClone () const
 
bool IsActive () const
 
void SetActive (bool val)
 
bool IsPenalty () const
 
bool IsPolar () const
 
bool IsRotation () const
 
void SetPenalty (bool val)
 
void SetPolar (bool val)
 
void SetRotation (bool val)
 
double GetMax () const
 
double GetMin () const
 
double GetMaxCushion () const
 
double GetMinCushion () const
 
double GetKmax () const
 
double GetKmin () const
 
double GetRmax () const
 
double GetRmin () const
 
double GetMaxElastic () const
 
double GetMinElastic () const
 
double GetMaxPolarAngle (double pol_ang) const
 
void SetMax (double val)
 
void SetMin (double val)
 
void SetMaxCushion (double val)
 
void SetMinCushion (double val)
 
void SetKmax (double val)
 
void SetKmin (double val)
 
void SetRmax (double val)
 
void SetRmin (double val)
 
void SetMaxElastic (double val)
 
void SetMinElastic (double val)
 
void SetModulationKmax (std::shared_ptr< ChFunction > funct)
 
void SetModulationKmin (std::shared_ptr< ChFunction > funct)
 
void SetModulationRmax (std::shared_ptr< ChFunction > funct)
 
void SetModulationRmin (std::shared_ptr< ChFunction > funct)
 
void SetPolarMax (std::shared_ptr< ChFunction > funct)
 
std::shared_ptr< ChFunctionGetModulationKmax () const
 
std::shared_ptr< ChFunctionGetModulationKmin () const
 
std::shared_ptr< ChFunctionGetModulationRmax () const
 
std::shared_ptr< ChFunctionGetModulationRmin () const
 
std::shared_ptr< ChFunctionGetPolarMax () const
 
double GetViolation (double x) const
 Return negative violation when x<min, or positive if x>max.
 
double GetForce (double x, double x_dt) const
 
double GetPolarForce (double x, double x_dt, double pol_ang) const
 
void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
 
void ArchiveIN (ChArchiveIn &marchive)
 Method to allow deserialization of transient data from archives.
 

Public Attributes

ChConstraintTwoBodies constr_upper
 
ChConstraintTwoBodies constr_lower
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/physics/ChLimit.h
  • /builds/uwsbel/chrono/src/chrono/physics/ChLimit.cpp