MBSim

Project Page
Public Member Functions | Private Attributes
MBSim::IsotropicRotationalSpringDamper Class Reference

Isotropic rotational spring damper force law. More...

#include <isotropic_rotational_spring_damper.h>

Inheritance diagram for MBSim::IsotropicRotationalSpringDamper:
MBSim::LinkMechanics MBSim::Link MBSim::Element

List of all members.

Public Member Functions

 IsotropicRotationalSpringDamper (const std::string &name)
 constructor
virtual ~IsotropicRotationalSpringDamper ()
 destructor
virtual void updateh (double t, int i=0)
virtual void updateg (double t)
virtual void updategd (double t)
virtual void init (InitStage stage)
 plots time series header
virtual bool isActive () const
virtual bool gActiveChanged ()
virtual bool isSingleValued () const
 asks the link if it contains single valued force laws that contribute to the right-hand side vector h
void connect (Frame *frame1, Frame *frame2)
void setParameters (double c_, double d_, double alpha0_)
void setMomentDirection (const fmatvec::Mat &md)

Private Attributes

double c
 stiffness, damping, relaxed angle
double d
double alpha0
fmatvec::Mat momentDir
 which angle projections should be used
fmatvec::Index IR
fmatvec::Mat Wm
 global moment direction

Detailed Description

Isotropic rotational spring damper force law.

This class connects two frames and applies a torque which depends on the relative rotation and velocity between the two frames. Not considered: torsion around the first axis / rotation more than 180°

Author:
Gerald Horst
Thorsten Schindler
Date:
2012-03-21 initial commit (Thorsten Schindler)

Constructor & Destructor Documentation

constructor

Parameters:
nameof isotropic roational spring damper

Member Function Documentation

virtual bool MBSim::IsotropicRotationalSpringDamper::gActiveChanged ( ) [inline, virtual]
Returns:
has the relative distance vector changed?

Implements MBSim::Link.

virtual void MBSim::IsotropicRotationalSpringDamper::init ( InitStage  stage) [virtual]

plots time series header

Parameters:
invocingparent class

Reimplemented from MBSim::LinkMechanics.

virtual bool MBSim::IsotropicRotationalSpringDamper::isActive ( ) const [inline, virtual]
Returns:
are link equations active?

Implements MBSim::Link.

virtual bool MBSim::IsotropicRotationalSpringDamper::isSingleValued ( ) const [inline, virtual]

asks the link if it contains single valued force laws that contribute to the right-hand side vector h

Returns:
single valued force laws used within link?

Reimplemented from MBSim::Link.


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