MercuryDPM  Trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
helpers::KAndDispAndKtAndDispt Class Reference

Set disp and k such that is matches a given collision time tc and restitution coefficient r for a collision of effective/reduced mass m. More...

#include <Helpers.h>

Public Attributes

Mdouble k
 
Mdouble disp
 
Mdouble kt
 
Mdouble dispt
 

Detailed Description

Set disp and k such that is matches a given collision time tc and restitution coefficient r for a collision of effective/reduced mass m.

Deprecated:
use species->setCollisionTimeAndRestitutionCoefficient (collisionTime, dissipationTimeScale, 2.0*effectiveMass) instead

Calculates the collision time for a given stiffness, dissipation, and effective mass

Deprecated:
use species->computeCollisionTime(2.0*effectiveMass) instead
Todo:
This does not result in the same value as the given alternative.

Calculates the restitution coefficient time for a given stiffness, dissipation, and effective mass

Deprecated:
use species->computeRestitutionCoefficient(2.0*effectiveMass) instead

Calculates the dissipation for a given stiffness, restitution coefficient, and effective mass

Calculates the collision time for a given stiffness, restitution coefficient, and effective mass

Deprecated:
use species->computeCollisionTime(2.0*effectiveMass) instead

Calculates the dissipation for a given stiffness, collision time, and effective mass

Deprecated:
use species->setStiffnessAndRestitutionCoefficient(2.0*effectiveMass) instead

Calculates the restitution coefficient for a given stiffness, collision time, and effective mass

Deprecated:
use species->computeRestitutionCoefficient(2.0*effectiveMass) instead

Calculates the dissipation for a given collision time, restitution coefficient, and effective mass

Deprecated:
use species->setCollisionTimeAndRestitutionCoefficient(2.0*effectiveMass) instead

Calculates the stiffness for a given collision time, restitution coefficient, and effective mass

Deprecated:
use species->setCollisionTimeAndRestitutionCoefficient(2.0*effectiveMass) instead

Calculates the stiffness for a given collision time, dissipation, and effective mass

Calculates the resitution coefficient for a given collision time, dissipation, and effective mass

Deprecated:
use species->computeRestitutionCoefficient(2.0*effectiveMass) instead

Calculates the stiffness for a given dissipation, restitution coefficient, and effective mass

Calculates the collision time for a given dissipation, restitution coefficient, and effective mass

Deprecated:
use species->computeCollisionTime(2.0*effectiveMass) instead

return type specifically for fuctions returning k, disp, kt, dispt at once

return type specifically for fuctions returning k, disp, kt, dispt at once

Definition at line 148 of file Helpers.h.

Member Data Documentation


The documentation for this class was generated from the following file: