MBSim

Project Page
Classes | Public Types | Public Member Functions | Protected Attributes | Private Attributes
MBSim::ExternGeneralizedIO Class Reference
Inheritance diagram for MBSim::ExternGeneralizedIO:
MBSim::Link MBSim::Element

List of all members.

Classes

struct  ApplyForceAlsoTo

Public Types

enum  Type { CONSTANT, LINEAR }

Public Member Functions

 ExternGeneralizedIO (const std::string &name="")
void updateh (double, int i=0)
void updateg (double)
void updategd (double)
void calcxSize ()
void updatedx (double t, double dt)
void updatexd (double t)
bool isActive () const
bool gActiveChanged ()
std::string getType () const
void init (InitStage stage)
 plots time series header
void connect (Object *obj, int qInd_, int uInd_)
void setGeneralizedForce (double h)
void setGeneralizedLinearForceParameters (double m_, double a_, double t0_)
double getGeneralizedPosition ()
double getGeneralizedVelocity ()
void plot (double t, double dt=1)
 plots time dependent data
void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
Type getType ()
virtual void updateWRef (const fmatvec::Mat &, int)
 references to contact force direction matrix of dynamic system parent
virtual void updateVRef (const fmatvec::Mat &, int)
 references to condensed contact force direction matrix of dynamic system parent
virtual void updatehRef (const fmatvec::Vec &, int)
 references to complete and link smooth force vector of dynamic system parent
virtual void updatedhdqRef (const fmatvec::Mat &, int)
virtual void updatedhduRef (const fmatvec::SqrMat &, int)
virtual void updatedhdtRef (const fmatvec::Vec &, int)
virtual void updaterRef (const fmatvec::Vec &, int)
 references to nonsmooth force vector of dynamic system parent
void addApplyForceAlsoTo (Object *ref, double factor, int index)

Protected Attributes

Object * connectedObject
int qInd
int uInd
double m
double a
double t0
std::vector< ApplyForceAlsoTo > applyForceAlsoTo
Type type

Private Attributes

std::string saved_connectedObject

Member Function Documentation

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

Implements MBSim::Link.

std::string MBSim::ExternGeneralizedIO::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented from MBSim::Link.

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

plots time series header

Parameters:
invocingparent class

Reimplemented from MBSim::Link.

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

Implements MBSim::Link.

void MBSim::ExternGeneralizedIO::plot ( double  t,
double  dt = 1 
) [virtual]

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::Link.


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