AGX Dynamics  2.37.2.0
agxModel::BeamStiffnessDamping Struct Reference

Stiffness and damping data for constraints related to beam models. More...

#include <BeamStiffnessDamping.h>

Public Member Functions

void apply (agx::LockJoint *lock, agx::Real scale=1.0) const
 Apply stiffness as compliance to the given lock joint. More...
 

Static Public Member Functions

static BeamStiffnessDamping createDefault ()
 Sane default values for stiffness and damping that can be used when inputs are invalid but something has to be returned. More...
 

Public Attributes

agx::Vec3 rotationalDampingTime
 Rotational damping time where x and y are bend damping and z is torsion. More...
 
agx::Vec3 rotationalStiffness
 Rotational stiffness where x and y are bend stiffness and z is torsion. More...
 
agx::Vec3 translationalDampingTime
 Translational damping time where x and y are shear damping and z is stretch. More...
 
agx::Vec3 translationalStiffness
 Translational stiffness where x and y are shear stiffness and z is stretch. More...
 

Detailed Description

Stiffness and damping data for constraints related to beam models.

The compliance of a constraint is 1.0 / stiffness.

Definition at line 29 of file BeamStiffnessDamping.h.

Member Function Documentation

◆ apply()

void agxModel::BeamStiffnessDamping::apply ( agx::LockJoint *  lock,
agx::Real  scale = 1.0 
) const
inline

Apply stiffness as compliance to the given lock joint.

The scale is multiplied with stiffness translational.z() (stretch) and all rotational DOFs.

Parameters
lock- lock joint to apply stiffness and damping data to
scale- stiffness scale of translational z and all rotational DOFs (default and normally: 1.0)

Definition at line 71 of file BeamStiffnessDamping.h.

References agx::max(), agx::LockJoint::ROTATIONAL_1, agx::LockJoint::ROTATIONAL_2, agx::LockJoint::ROTATIONAL_3, agx::Constraint::setCompliance(), agx::Constraint::setDamping(), agx::LockJoint::TRANSLATIONAL_1, agx::LockJoint::TRANSLATIONAL_2, and agx::LockJoint::TRANSLATIONAL_3.

◆ createDefault()

static BeamStiffnessDamping agxModel::BeamStiffnessDamping::createDefault ( )
static

Sane default values for stiffness and damping that can be used when inputs are invalid but something has to be returned.

Print warnings when these values are used.

Member Data Documentation

◆ rotationalDampingTime

agx::Vec3 agxModel::BeamStiffnessDamping::rotationalDampingTime

Rotational damping time where x and y are bend damping and z is torsion.

Definition at line 60 of file BeamStiffnessDamping.h.

◆ rotationalStiffness

agx::Vec3 agxModel::BeamStiffnessDamping::rotationalStiffness

Rotational stiffness where x and y are bend stiffness and z is torsion.

Compliance is 1.0 / stiffness.

Definition at line 48 of file BeamStiffnessDamping.h.

◆ translationalDampingTime

agx::Vec3 agxModel::BeamStiffnessDamping::translationalDampingTime

Translational damping time where x and y are shear damping and z is stretch.

Definition at line 54 of file BeamStiffnessDamping.h.

◆ translationalStiffness

agx::Vec3 agxModel::BeamStiffnessDamping::translationalStiffness

Translational stiffness where x and y are shear stiffness and z is stretch.

Compliance is 1.0 / stiffness.

Definition at line 42 of file BeamStiffnessDamping.h.


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