chrono::vehicle::MapDamperForce Class Reference

Description

Utility class for specifying a map translational damper force.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::MapDamperForce:
Collaboration diagram for chrono::vehicle::MapDamperForce:

Public Member Functions

 MapDamperForce (const std::vector< std::pair< double, double >> &data)
 
void add_point (double x, double y)
 
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.