chrono::vehicle::LinearSpringBistopForce Class Reference

Description

Utility class for specifying a linear translational spring force with bump and rebound stop.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::LinearSpringBistopForce:
Collaboration diagram for chrono::vehicle::LinearSpringBistopForce:

Public Member Functions

 LinearSpringBistopForce (double k, double min_length, double max_length)
 Use default bump stop and rebound stop maps.
 
virtual double operator() (double time, double rest_length, double length, double vel, ChLinkSpringCB *link) override
 Calculate and return the general spring-damper force at the specified configuration.