chrono::vehicle::LinearSpringForce Class Reference

Description

Utility class for specifying a linear translational spring force.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::LinearSpringForce:
Collaboration diagram for chrono::vehicle::LinearSpringForce:

Public Member Functions

 LinearSpringForce (double k)
 
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.