MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::LinkMechanics Class Reference

general link to one or more objects More...

#include <link_mechanics.h>

Inheritance diagram for MBSim::LinkMechanics:
MBSim::Link MBSim::Element MBSim::Contact MBSim::DirectionalSpringDamper MBSim::Gear MBSim::Gearing MBSim::GeneralizedFriction MBSim::GeneralizedSpringDamper MBSim::IsotropicRotationalSpringDamper MBSim::Joint MBSim::KinematicExcitation MBSim::KineticExcitation MBSim::SingleContact MBSim::SpringDamper

List of all members.

Public Member Functions

 LinkMechanics (const std::string &name)
 constructor
virtual ~LinkMechanics ()
 destructor
virtual void updatedhdz (double t)
virtual void init (InitStage stage)
 plots time series header
std::string getType () const
virtual void plot (double t, double dt=1)
 plots time dependent data
virtual void closePlot ()
 closes plot file
virtual void updateWRef (const fmatvec::Mat &ref, int i=0)
 references to contact force direction matrix of dynamic system parent
virtual void updateVRef (const fmatvec::Mat &ref, int i=0)
 references to condensed contact force direction matrix of dynamic system parent
virtual void updatehRef (const fmatvec::Vec &hRef, int i=0)
 references to complete and link smooth force vector of dynamic system parent
virtual void updatedhdqRef (const fmatvec::Mat &ref, int i=0)
virtual void updatedhduRef (const fmatvec::SqrMat &ref, int i=0)
virtual void updatedhdtRef (const fmatvec::Vec &ref, int i=0)
virtual void updaterRef (const fmatvec::Vec &ref, int i=0)
 references to nonsmooth force vector of dynamic system parent
const std::vector< Contour * > & getContour () const
virtual void connect (Frame *frame_)
virtual void connect (Contour *contour_)
const std::vector< Frame * > & getFrame () const

Protected Attributes

std::vector< fmatvec::Vec3 > WF
 force and moment direction for smooth right hand side
std::vector< fmatvec::Vec3 > WM
std::vector< fmatvec::Mat3xV > fF
 cartesian force and moment direction matrix for nonsmooth right hand side
std::vector< fmatvec::Mat3xV > fM
std::vector< Frame * > frame
 array in which all frames are listed, connecting bodies via a link
std::vector< Contour * > contour
 array in which all contours are listed, connecting bodies via link

Detailed Description

general link to one or more objects

Author:
Martin Foerg
Date:
2009-03-26 some comments (Thorsten Schindler)
2009-04-06 ExtraDynamicInterface included (Thorsten Schindler)
2009-07-16 splitted link / object right hand side (Thorsten Schindler)
2009-07-27 implicit integration improvement (Thorsten Schindler)
2009-08-19 fix in dhdu referencing (Thorsten Schindler)

Constructor & Destructor Documentation

MBSim::LinkMechanics::LinkMechanics ( const std::string &  name)

constructor

Parameters:
nameof link machanics

Member Function Documentation

virtual void MBSim::LinkMechanics::connect ( Frame *  frame_) [virtual]
Parameters:
frameto add to link frame vector
virtual void MBSim::LinkMechanics::connect ( Contour *  contour_) [virtual]
Parameters:
contourto add to link contour vector
std::string MBSim::LinkMechanics::getType ( ) const [inline, virtual]
virtual void MBSim::LinkMechanics::init ( InitStage  stage) [virtual]
virtual void MBSim::LinkMechanics::plot ( double  t,
double  dt = 1 
) [virtual]

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::Link.

Reimplemented in MBSim::GeneralizedSpringDamper, MBSim::Contact, MBSim::DirectionalSpringDamper, MBSim::SingleContact, MBSim::Joint, MBSim::SpringDamper, MBSim::Gear, MBSim::KineticExcitation, MBSim::Gearing, MBSim::GeneralizedFriction, and MBSim::KinematicExcitation.


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