MBSim

Project Page
Public Member Functions | Protected Attributes | Private Attributes
MBSim::GeneralizedFriction Class Reference
Inheritance diagram for MBSim::GeneralizedFriction:
MBSim::LinkMechanics MBSim::Link MBSim::Element

List of all members.

Public Member Functions

 GeneralizedFriction (const std::string &name="")
void updateh (double, int i=0)
void updateg (double)
void updategd (double)
bool isActive () const
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
std::string getType () const
void init (InitStage stage)
 plots time series header
void setGeneralizedFrictionForceLaw (FrictionForceLaw *func_)
 Set the function for the torque calculation.
void setGeneralizedNormalForce (double laN_)
void setRigidBodyFirstSide (RigidBody *body_)
void setRigidBodySecondSide (RigidBody *body_)
void plot (double t, double dt=1)
 plots time dependent data
void initializeUsingXML (xercesc::DOMElement *element)
void updatehRef (const fmatvec::Vec &hParent, int j=0)
 references to complete and link smooth force vector of dynamic system parent

Protected Attributes

FrictionForceLaw * func
double laN
std::vector< RigidBody * > body

Private Attributes

std::string saved_body1
std::string saved_body2

Member Function Documentation

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

Implements MBSim::Link.

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

Reimplemented from MBSim::LinkMechanics.

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

plots time series header

Parameters:
invocingparent class

Reimplemented from MBSim::LinkMechanics.

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

Implements MBSim::Link.

virtual bool MBSim::GeneralizedFriction::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.

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

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::LinkMechanics.

Set the function for the torque calculation.


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