chrono::vehicle::NonlinearSpringDamperTorque Class Reference

Description

Utility class for specifying a nonlinear rotational spring-damper torque.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::NonlinearSpringDamperTorque:
Collaboration diagram for chrono::vehicle::NonlinearSpringDamperTorque:

Public Member Functions

 NonlinearSpringDamperTorque (double rest_angle=0, double preload=0)
 
 NonlinearSpringDamperTorque (const std::vector< std::pair< double, double >> &dataK, const std::vector< std::pair< double, double >> &dataC, double rest_angle=0, double preload=0)
 
void add_pointK (double x, double y)
 
void add_pointC (double x, double y)
 
virtual double evaluate (double time, double angle, double vel, const ChLinkRSDA &link) override
 Calculate and return the general spring-damper torque at the specified configuration. More...
 

Member Function Documentation

◆ evaluate()

double chrono::vehicle::NonlinearSpringDamperTorque::evaluate ( double  time,
double  angle,
double  vel,
const ChLinkRSDA link 
)
overridevirtual

Calculate and return the general spring-damper torque at the specified configuration.

Parameters
timecurrent time
anglerelative angle of rotation
velrelative angular speed
linkassociated RSDA link

Implements chrono::ChLinkRSDA::TorqueFunctor.


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