MBSim

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

dynamic system as topmost hierarchical level More...

#include <dynamic_system.h>

Inheritance diagram for MBSim::DynamicSystem:
MBSim::Element MBSim::Graph MBSim::Group MBSim::DynamicSystemSolver

List of all members.

Public Member Functions

 DynamicSystem (const std::string &name)
 constructor
virtual ~DynamicSystem ()
 destructor
virtual void updateT (double t)
virtual void updateh (double t, int i=0)
virtual void updateh0Fromh1 (double t)
virtual void updateW0FromW1 (double t)
virtual void updateV0FromV1 (double t)
virtual void updateStateDependentVariables (double t)=0
virtual void updateStateDerivativeDependentVariables (double t)
virtual void updateM (double t, int i=0)
virtual void updateJacobians (double t, int j=0)=0
virtual void updatedq (double t, double dt)
virtual void updateud (double t, int i=0)
virtual void updatezd (double t)=0
virtual void updatedu (double t, double dt)=0
virtual void updateqd (double t)
virtual void sethSize (int hSize_, int i=0)
virtual int gethSize (int i=0) const
virtual int getqSize () const
virtual int getuSize (int i=0) const
virtual void calcqSize ()
virtual void calcuSize (int j=0)
virtual int getuInd (int i=0)
virtual void setqInd (int qInd_)
virtual void setuInd (int uInd_, int i=0)
virtual void sethInd (int hInd_, int i=0)
virtual void setxInd (int xInd_)
virtual const fmatvec::Vec & getq () const
virtual fmatvec::Vec & getq ()
virtual const fmatvec::Vec & getu () const
virtual fmatvec::Vec & getu ()
virtual H5::Group * getPlotGroup ()
virtual PlotFeatureStatus getPlotFeature (PlotFeature fp)
virtual PlotFeatureStatus getPlotFeatureForChildren (PlotFeature fp)
std::string getPath (char pathDelim='.')
 Return the full path of the object.
virtual void updatewb (double t, int j=0)
virtual void updateW (double t, int j=0)
virtual void updateV (double t, int j=0)
virtual void updateg (double t)
virtual void updategd (double t)
virtual void updateStopVector (double t)
virtual void updateLinkStatus (double t)
virtual void updateLinkStatusReg (double t)
virtual void updategInverseKinetics (double t)
virtual void updategdInverseKinetics (double t)
virtual void updateWInverseKinetics (double t, int j=0)
virtual void updatehInverseKinetics (double t, int j=0)
virtual void updateJacobiansInverseKinetics (double t, int j=0)
virtual void updatebInverseKinetics (double t)
virtual void updatedx (double t, double dt)
virtual void updatexd (double t)
virtual void calcxSize ()
const fmatvec::Vec & getx () const
fmatvec::Vec & getx ()
int getxSize () const
void updatexRef (const fmatvec::Vec &ref)
void updatexdRef (const fmatvec::Vec &ref)
virtual void init (InitStage stage)
 plots time series header
virtual void initz ()
virtual std::string getType () const
 DEPRECATED.
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
virtual void plot (double t, double dt)
 plots time dependent data
virtual void plotAtSpecialEvent (double t, double dt=1.)
 plots time dependent data at special events
virtual void closePlot ()
 closes plot file
virtual void facLLM (int i=0)=0
 compute Cholesky decomposition of mass matrix TODO necessary?
virtual int solveConstraintsFixpointSingle ()
 solve contact equations with single step fixed point scheme on acceleration level
virtual int solveImpactsFixpointSingle (double dt)
 solve contact equations with single step fixed point scheme on velocity level
virtual int solveConstraintsGaussSeidel ()
 solve contact equations with Gauss-Seidel scheme on acceleration level
virtual int solveImpactsGaussSeidel (double dt)
 solve contact equations with Gauss-Seidel scheme on velocity level
virtual int solveConstraintsRootFinding ()
 solve contact equations with Newton scheme on acceleration level
virtual int solveImpactsRootFinding (double dt)
 solve contact equations with Newton scheme on velocity level
virtual int jacobianConstraints ()
 compute JACOBIAN of contact equations on acceleration level
virtual int jacobianImpacts ()
 compute JACOBIAN of contact equations on velocity level
virtual void checkConstraintsForTermination ()
 validate force laws concerning given tolerances on acceleration level
virtual void checkImpactsForTermination (double dt)
 validate force laws concerning given tolerances on velocity level
virtual void updaterFactors ()
 update relaxation factors for contact equations
virtual Frame * getFrame (const std::string &name, bool check=true)
virtual Contour * getContour (const std::string &name, bool check=true)
void setPosition (const fmatvec::Vec &PrPF_)
void setOrientation (const fmatvec::SqrMat &APF_)
void setFrameOfReference (Frame *frame)
const fmatvec::Vec & getxd () const
fmatvec::Vec & getxd ()
const fmatvec::Vec & getx0 () const
fmatvec::Vec & getx0 ()
const fmatvec::Mat & getT () const
const fmatvec::SymMat & getM (int i=0) const
const fmatvec::SymMat & getLLM (int i=0) const
const fmatvec::Vec & geth (int j=0) const
const fmatvec::Vec & getf () const
fmatvec::Vec & getf ()
const fmatvec::Mat & getW (int i=0) const
fmatvec::Mat & getW (int i=0)
const fmatvec::Mat & getV (int i=0) const
fmatvec::Mat & getV (int i=0)
const fmatvec::Vec & getla () const
fmatvec::Vec & getla ()
const fmatvec::Vec & getg () const
fmatvec::Vec & getg ()
const fmatvec::Vec & getgd () const
fmatvec::Vec & getgd ()
const fmatvec::Vec & getrFactor () const
fmatvec::Vec & getrFactor ()
fmatvec::Vec & getsv ()
const fmatvec::Vec & getsv () const
fmatvec::Vector< int > & getjsv ()
const fmatvec::Vector< int > & getjsv () const
fmatvec::Vector< int > & getLinkStatus ()
fmatvec::Vector< int > & getLinkStatusReg ()
const fmatvec::Vector< int > & getLinkStatus () const
const fmatvec::Vector< int > & getLinkStatusReg () const
const fmatvec::Vec & getres () const
fmatvec::Vec & getres ()
void setx (const fmatvec::Vec &x_)
void setx0 (const fmatvec::Vec &x0_)
void setx0 (double x0_)
int getxInd ()
int getlaInd () const
int gethInd (int i=0)
void setlaInd (int ind)
void setgInd (int ind)
void setgdInd (int ind)
void setrFactorInd (int ind)
void setsvInd (int svInd_)
void setLinkStatusInd (int LinkStatusInd_)
void setLinkStatusRegInd (int LinkStatusRegInd_)
int getzSize () const
void setqSize (int qSize_)
void setuSize (int uSize_, int i=0)
void setxSize (int xSize_)
int getlaSize () const
int getgSize () const
int getgdSize () const
int getrFactorSize () const
int getsvSize () const
int getLinkStatusSize () const
int getLinkStatusRegSize () const
void updateqRef (const fmatvec::Vec &ref)
 references to positions of dynamic system parent
void updateqdRef (const fmatvec::Vec &ref)
 references to differentiated positions of dynamic system parent
void updateuRef (const fmatvec::Vec &ref)
 references to velocities of dynamic system parent
void updateuallRef (const fmatvec::Vec &ref)
 references to velocities of dynamic system parent
void updateudRef (const fmatvec::Vec &ref, int i=0)
 references to differentiated velocities of dynamic system parent
void updateudallRef (const fmatvec::Vec &ref, int i=0)
 references to velocities of dynamic system parent
void updatehRef (const fmatvec::Vec &hRef, int i=0)
 references to smooth right hand side of dynamic system parent
void updatefRef (const fmatvec::Vec &ref)
 references to order one right hand side of dynamic system parent
void updaterRef (const fmatvec::Vec &ref, int j=0)
 references to nonsmooth right hand side of dynamic system parent
void updateTRef (const fmatvec::Mat &ref)
 references to linear transformation matrix between differentiated positions and velocities of dynamic system parent
void updateMRef (const fmatvec::SymMat &ref, int i=0)
 references to mass matrix of dynamic system parent
void updateLLMRef (const fmatvec::SymMat &ref, int i=0)
 references to Cholesky decomposition of dynamic system parent
void updategRef (const fmatvec::Vec &ref)
 references to relative distances of dynamic system parent
void updategdRef (const fmatvec::Vec &ref)
 references to relative velocities of dynamic system parent
void updatelaRef (const fmatvec::Vec &ref)
 references to contact force parameters of dynamic system parent
void updatelaInverseKineticsRef (const fmatvec::Vec &ref)
void updatebInverseKineticsRef (const fmatvec::Mat &ref)
void updatewbRef (const fmatvec::Vec &ref)
 references to TODO of dynamic system parent
void updateWRef (const fmatvec::Mat &ref, int i=0)
 references to contact force direction matrix of dynamic system parent
void updateWnVRefObjects ()
void updateWInverseKineticsRef (const fmatvec::Mat &ref, int i=0)
 references to contact force direction matrix of dynamic system parent
void updateVRef (const fmatvec::Mat &ref, int i=0)
 references to condensed contact force direction matrix of dynamic system parent
void updatesvRef (const fmatvec::Vec &ref)
 references to stopvector (rootfunction for event driven integrator) of dynamic system parent
void updatejsvRef (const fmatvec::Vector< int > &ref)
 references to boolean evaluation of stopvector concerning roots of dynamic system parent
void updateLinkStatusRef (const fmatvec::Vector< int > &LinkStatusParent)
 references to status vector of set valued links with piecewise link equations (which piece is valid)
void updateLinkStatusRegRef (const fmatvec::Vector< int > &LinkStatusRegParent)
 references to status vector of single valued links
void updateresRef (const fmatvec::Vec &ref)
 references to residuum of contact equations of dynamic system parent
void updaterFactorRef (const fmatvec::Vec &ref)
 references to relaxation factors for contact equations of dynamic system parent
virtual void buildListOfObjects (std::vector< Object * > &obj, bool recursive=false)
 build flat list of objects
virtual void buildListOfLinks (std::vector< Link * > &lnk, bool recursive=false)
 build flat list of links
virtual void buildListOfSetValuedLinks (std::vector< Link * > &lnk, bool recursive=false)
 build flat list of all setvalued links
virtual void buildListOfFrames (std::vector< Frame * > &frm, bool recursive)
 build flat list of frames
virtual void buildListOfContours (std::vector< Contour * > &cnt, bool recursive)
 build flat list of contours
virtual void buildListOfExtraDynamic (std::vector< ExtraDynamic * > &ed, bool recursive=false)
 build flat list of extra dynamic
void buildListOfModels (std::vector< ModellingInterface * > &model, bool recursive=true)
 build flat list of models
void setUpInverseKinetics ()
 analyse constraints of dynamic systems for usage in inverse kinetics
void setUpLinks ()
 distribute links to set- and single valued container
bool gActiveChanged ()
bool gActiveChangedReg ()
void calcsvSize ()
 calculates size of stop vector
void calclaSize (int j)
 calculates size of contact force parameters
void calcLinkStatusSize ()
 calculates size of set-valued link status vector
void calcLinkStatusRegSize ()
 calculates size of single-valued link status vector
void calclaInverseKineticsSize ()
 calculates size of contact force parameters
void calcbInverseKineticsSize ()
 calculates size of contact force parameters
void calcgSize (int j)
 calculates size of relative distances
void calcgdSize (int j)
 calculates size of relative velocities
void calcrFactorSize (int j)
 calculates size of relaxation factors for contact equations
void setUpActiveLinks ()
 rearrange vector of active setvalued links
void checkActive (int i)
 check if set-valued contacts are active
void checkActiveReg (int i)
 check if single-valued contacts are active
void setgTol (double tol)
void setgdTol (double tol)
void setgddTol (double tol)
void setlaTol (double tol)
void setLaTol (double tol)
void setrMax (double rMax)
void addFrame (Frame *frame_, const fmatvec::Vec &RrRF, const fmatvec::SqrMat &ARF, const std::string &refFrameName)
void addFrame (Frame *frame_, const fmatvec::Vec &RrRF, const fmatvec::SqrMat &ARF, const Frame *refFrame=0)
void addFrame (const std::string &str, const fmatvec::Vec &RrRF, const fmatvec::SqrMat &ARF, const Frame *refFrame=0)
void addContour (Contour *contour, const fmatvec::Vec &RrRC, const fmatvec::SqrMat &ARC, const std::string &refFrameName)
void addContour (Contour *contour, const fmatvec::Vec &RrRC, const fmatvec::SqrMat &ARC, const Frame *refFrame=0)
void addContour (Contour *contour, const fmatvec::Vec &RrRC, const Frame *refFrame=0)
int frameIndex (const Frame *frame_) const
void addGroup (DynamicSystem *dynamicsystem)
DynamicSystem * getGroup (const std::string &name, bool check=true)
void addObject (Object *object)
Object * getObject (const std::string &name, bool check=true)
void addLink (Link *link)
void addInverseKineticsLink (Link *link)
Link * getLink (const std::string &name, bool check=true)
void addExtraDynamic (ExtraDynamic *ed_)
ExtraDynamic * getExtraDynamic (const std::string &name, bool check=true)
void addModel (ModellingInterface *modell)
ModellingInterface * getModel (const std::string &name, bool check=true)
Frame * getFrameI ()
 Return frame "I".
virtual Element * getByPathSearch (std::string path)
 a general element search by path
virtual void updatecorr (int j)
void updatecorrRef (const fmatvec::Vec &ref)
void calccorrSize (int j)
void checkRoot ()
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 constructor
virtual ~Element ()
 destructor
virtual void initDataInterfaceBase (DynamicSystemSolver *parentds)
 TODO.
const std::string & getName () const
const std::string getShortName () const
void setName (const std::string &str)
DynamicSystemSolver * getDynamicSystemSolver ()
virtual void createPlotGroup ()
 creates the plotGroup for H5-output
virtual void setPlotFeature (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature.
void setPlotFeatureForChildren (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature for the children of this object.
void setPlotFeatureRecursive (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature for this object and the children of this object.
virtual void initializeUsingXML (TiXmlElement *element)
template<class T >
T * getByPath (std::string path)
 a general element access
virtual Element * getParent ()
virtual const Element * getParent () const
virtual void setParent (Element *parent_)

Protected Member Functions

void addFrame (Frame *frame_)
void addContour (Contour *contour)
- Protected Member Functions inherited from MBSim::Element
void updatePlotFeatures ()

Protected Attributes

Frame * frameParent
 parent frame
fmatvec::Vec PrPF
 relative translation with respect to parent frame
fmatvec::SqrMat APF
 relative rotation with respect to parent frame
std::vector< Object * > object
 container for possible ingredients
std::vector< Link * > link
std::vector< Link * > linkSingleValued
std::vector< Link * > linkSetValued
std::vector< Link * > linkSetValuedActive
std::vector< Link * > linkSetValuedNotActiveWithSmoothPart
std::vector< ExtraDynamic * > extraDynamic
std::vector< ModellingInterface * > model
std::vector< DynamicSystem * > dynamicsystem
std::vector< Link * > inverseKineticsLink
fmatvec::Mat T
 linear relation matrix of position and velocity parameters
fmatvec::SymMat M [2]
 mass matrix
fmatvec::SymMat LLM [2]
 Cholesky decomposition of mass matrix.
fmatvec::Vec q
 positions, differentiated positions, initial positions
fmatvec::Vec qd
fmatvec::Vec q0
fmatvec::Vec u
 velocities, differentiated velocities, initial velocities
fmatvec::Vec ud [2]
fmatvec::Vec u0
fmatvec::Vec x
 order one parameters, differentiated order one parameters, initial order one parameters
fmatvec::Vec xd
fmatvec::Vec x0
fmatvec::Vec h [2]
 smooth, smooth with respect to objects, smooth with respect to links, nonsmooth and order one right hand side
fmatvec::Vec r [2]
fmatvec::Vec f
fmatvec::Mat W [2]
fmatvec::Mat V [2]
fmatvec::Vec la
 contact force parameters
fmatvec::Vec g
 relative distances and velocities
fmatvec::Vec gd
fmatvec::Vec wb
 TODO.
fmatvec::Vec res
 residuum of nonlinear contact equations for Newton scheme
fmatvec::Vec rFactor
 rfactors for relaxation nonlinear contact equations
fmatvec::Vec sv
 stop vector (root functions for event driven integration
fmatvec::Vector< int > jsv
 boolean evaluation of stop vector concerning roots
fmatvec::Vector< int > LinkStatus
 status of set-valued links
fmatvec::Vector< int > LinkStatusReg
 status of single-valued links
int qSize
 size and local start index of positions relative to parent
int qInd
int uSize [2]
 size and local start index of velocities relative to parent
int uInd [2]
int xSize
 size and local start index of order one parameters relative to parent
int xInd
int hSize [2]
 size and local start index of order smooth right hand side relative to parent
int hInd [2]
int gSize
 size and local start index of relative distances relative to parent
int gInd
int gdSize
 size and local start index of relative velocities relative to parent
int gdInd
int laSize
 size and local start index of contact force parameters relative to parent
int laInd
int rFactorSize
 size and local start index of rfactors relative to parent
int rFactorInd
int svSize
 size and local start index of stop vector relative to parent
int svInd
int LinkStatusSize
 size and local start index of set-valued link status vector relative to parent
int LinkStatusInd
int LinkStatusRegSize
 size and local start index of single-valued link status vector relative to parent
int LinkStatusRegInd
std::vector< fmatvec::Vec > IrOF
 inertial position of frames, contours (see group.h / tree.h)
std::vector< fmatvec::Vec > IrOC
std::vector< fmatvec::SqrMat > AIF
 orientation to inertial frame of frames, contours (see group.h / tree.h)
std::vector< fmatvec::SqrMat > AIC
std::vector< Frame * > frame
 vector of frames and contours
std::vector< Contour * > contour
Frame * I
 A pointer to frame "I".
int laInverseKineticsSize
 size of contact force parameters of special links relative to parent
int bInverseKineticsSize
fmatvec::Mat WInverseKinetics [2]
fmatvec::Mat bInverseKinetics
fmatvec::Vec laInverseKinetics
int corrSize
int corrInd
fmatvec::Vec corr
- Protected Attributes inherited from MBSim::Element
Element * parent
std::string name
 name of element
DynamicSystemSolver * ds
 dynamic system
H5::VectorSerie< double > * plotVectorSerie
 time series
std::vector< double > plotVector
 one entry of time series
std::vector< std::string > plotColumns
 columns of time series
H5::Group * plotGroup
 associated plot group

Private Attributes

std::vector< std::string > saved_refFrameF
std::vector< std::string > saved_refFrameC
std::vector< fmatvec::Vec > saved_RrRF
std::vector< fmatvec::Vec > saved_RrRC
std::vector< fmatvec::SqrMat > saved_ARF
std::vector< fmatvec::SqrMat > saved_ARC

Additional Inherited Members

- Static Public Member Functions inherited from MBSim::Element
static double getDouble (TiXmlElement *e)
static int getInt (TiXmlElement *e)
static bool getBool (TiXmlElement *e)
static fmatvec::Vec getVec (TiXmlElement *e, int rows=0)
static fmatvec::Mat getMat (TiXmlElement *e, int rows=0, int cols=0)
static fmatvec::SqrMat getSqrMat (TiXmlElement *e, int size=0)
static fmatvec::SymMat getSymMat (TiXmlElement *e, int size=0)

Detailed Description

dynamic system as topmost hierarchical level

Author:
Martin Foerg
Date:
2009-03-26 some comments (Thorsten Schindler)
2009-04-06 ExtraDynamicInterface included (Thorsten Schindler)
2009-06-14 OpenMP (Thorsten Schindler)
2009-07-08 relative dynamic system location (Thorsten Schindler)
2009-07-16 splitted link / object right hand side (Thorsten Schindler)
2009-07-27 implicit integration improvement (Thorsten Schindler)
2009-07-28 splitted interfaces (Thorsten Schindler)
2009-12-14 revised inverse kinetics (Martin Foerg)
2010-07-06 modifications for timestepper ssc, e.g LinkStatus and buildListOfSetValuedLinks (Robert Huber)
2012-05-08 OpenMP completely removed; will be inserted again soon (Jan Clauberg)
2012-05-08 modifications for AutoTimeSteppingSSCIntegrator (Jan Clauberg)

Member Function Documentation

void MBSim::DynamicSystem::addContour ( Contour *  contour,
const fmatvec::Vec &  RrRC,
const fmatvec::SqrMat &  ARC,
const std::string &  refFrameName 
)
Parameters:
contourto add
relativeposition of contour
relativeorientation of contour
relationframe name
void MBSim::DynamicSystem::addContour ( Contour *  contour,
const fmatvec::Vec &  RrRC,
const fmatvec::SqrMat &  ARC,
const Frame *  refFrame = 0 
)
Parameters:
contourto add
relativeposition of contour
relativeorientation of contour
relationframe
void MBSim::DynamicSystem::addContour ( Contour *  contour,
const fmatvec::Vec &  RrRC,
const Frame *  refFrame = 0 
)
inline
Parameters:
contourto add
relativeposition of contour
relationframe
void MBSim::DynamicSystem::addContour ( Contour *  contour)
protected
Parameters:
contourto add
void MBSim::DynamicSystem::addExtraDynamic ( ExtraDynamic *  ed_)
Parameters:
extradynamic to add
void MBSim::DynamicSystem::addFrame ( Frame *  frame_,
const fmatvec::Vec &  RrRF,
const fmatvec::SqrMat &  ARF,
const std::string &  refFrameName 
)
Parameters:
frameto add
relativeposition of frame
relativeorientation of frame
relationframe name
void MBSim::DynamicSystem::addFrame ( Frame *  frame_,
const fmatvec::Vec &  RrRF,
const fmatvec::SqrMat &  ARF,
const Frame *  refFrame = 0 
)
Parameters:
frameto add
relativeposition of frame
relativeorientation of frame
relationframe
void MBSim::DynamicSystem::addFrame ( const std::string &  str,
const fmatvec::Vec &  RrRF,
const fmatvec::SqrMat &  ARF,
const Frame *  refFrame = 0 
)
Parameters:
nameof frame to add
relativeposition of frame
relativeorientation of frame
relationframe
void MBSim::DynamicSystem::addFrame ( Frame *  frame_)
protected
Parameters:
frameto add
void MBSim::DynamicSystem::addGroup ( DynamicSystem *  dynamicsystem)
Parameters:
dynamicsystem to add
void MBSim::DynamicSystem::addInverseKineticsLink ( Link *  link)
Parameters:
addlink for inverse kinetics
void MBSim::DynamicSystem::addLink ( Link *  link)
Parameters:
linkto add
void MBSim::DynamicSystem::addModel ( ModellingInterface *  modell)
Parameters:
modellto add
void MBSim::DynamicSystem::addObject ( Object *  object)
Parameters:
objectto add
virtual void MBSim::DynamicSystem::buildListOfContours ( std::vector< Contour * > &  cnt,
bool  recursive 
)
virtual

build flat list of contours

Parameters:
listof contours
flagfor recursive
virtual void MBSim::DynamicSystem::buildListOfExtraDynamic ( std::vector< ExtraDynamic * > &  ed,
bool  recursive = false 
)
virtual

build flat list of extra dynamic

Parameters:
listof extra dynamic
flagfor recursive
virtual void MBSim::DynamicSystem::buildListOfFrames ( std::vector< Frame * > &  frm,
bool  recursive 
)
virtual

build flat list of frames

Parameters:
listof frames
flagfor recursive
virtual void MBSim::DynamicSystem::buildListOfLinks ( std::vector< Link * > &  lnk,
bool  recursive = false 
)
virtual

build flat list of links

Parameters:
listof links
flagfor recursive
void MBSim::DynamicSystem::buildListOfModels ( std::vector< ModellingInterface * > &  model,
bool  recursive = true 
)

build flat list of models

Parameters:
listof models
flagfor recursive
virtual void MBSim::DynamicSystem::buildListOfObjects ( std::vector< Object * > &  obj,
bool  recursive = false 
)
virtual

build flat list of objects

Parameters:
listof objects
flagfor recursive
virtual void MBSim::DynamicSystem::buildListOfSetValuedLinks ( std::vector< Link * > &  lnk,
bool  recursive = false 
)
virtual

build flat list of all setvalued links

Parameters:
listof links
flagfor recursive
int MBSim::DynamicSystem::frameIndex ( const Frame *  frame_) const
Parameters:
frame
Returns:
index of frame TODO renaming
bool MBSim::DynamicSystem::gActiveChanged ( )
Returns:
flag, if vector of active relative distances has changed (set-valued laws)
bool MBSim::DynamicSystem::gActiveChangedReg ( )
Returns:
flag, if vector of active relative distances has changed (single-valued laws)
virtual Contour* MBSim::DynamicSystem::getContour ( const std::string &  name,
bool  check = true 
)
virtual
Parameters:
nameof the contour
checkfor existence of contour
Returns:
contour
ExtraDynamic* MBSim::DynamicSystem::getExtraDynamic ( const std::string &  name,
bool  check = true 
)
Parameters:
nameof the extra dynamic
checkfor existence of extra dynamic
Returns:
extra dynamic
virtual Frame* MBSim::DynamicSystem::getFrame ( const std::string &  name,
bool  check = true 
)
virtual
Parameters:
nameof the frame
checkfor existence of frame
Returns:
frame
DynamicSystem* MBSim::DynamicSystem::getGroup ( const std::string &  name,
bool  check = true 
)
Parameters:
nameof the dynamic system
checkfor existence of dynamic system
Returns:
dynamic system
Link* MBSim::DynamicSystem::getLink ( const std::string &  name,
bool  check = true 
)
Parameters:
nameof the link
checkfor existence of link
Returns:
link
ModellingInterface* MBSim::DynamicSystem::getModel ( const std::string &  name,
bool  check = true 
)
Parameters:
nameof the model
checkfor existence of model
Returns:
modelling interface
Object* MBSim::DynamicSystem::getObject ( const std::string &  name,
bool  check = true 
)
Parameters:
nameof the object
checkfor existence of object
Returns:
object
std::string MBSim::DynamicSystem::getPath ( char  pathDelim = '.')
inline

Return the full path of the object.

Parameters:
pathDelimThe delimiter of the path

Reimplemented from MBSim::Element.

virtual PlotFeatureStatus MBSim::DynamicSystem::getPlotFeature ( PlotFeature  pf)
inlinevirtual
Returns:
plot feature

Reimplemented from MBSim::Element.

virtual PlotFeatureStatus MBSim::DynamicSystem::getPlotFeatureForChildren ( PlotFeature  pf)
inlinevirtual
Returns:
plot feature for derived classes

Reimplemented from MBSim::Element.

virtual H5::Group* MBSim::DynamicSystem::getPlotGroup ( )
inlinevirtual
Returns:
associated plot group

Reimplemented from MBSim::Element.

virtual void MBSim::DynamicSystem::init ( InitStage  stage)
virtual

plots time series header

Parameters:
invocingparent class

Reimplemented from MBSim::Element.

Reimplemented in MBSim::DynamicSystemSolver.

virtual void MBSim::DynamicSystem::plot ( double  t,
double  dt 
)
virtual

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::Element.

virtual void MBSim::DynamicSystem::plotAtSpecialEvent ( double  t,
double  dt = 1. 
)
virtual

plots time dependent data at special events

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::Element.

virtual void MBSim::DynamicSystem::setDynamicSystemSolver ( DynamicSystemSolver *  sys)
virtual
Parameters:
TODO

Reimplemented from MBSim::Element.

void MBSim::DynamicSystem::setgddTol ( double  tol)
Parameters:
tolerancefor relative acceleration
void MBSim::DynamicSystem::setgdTol ( double  tol)
Parameters:
tolerancefor relative velocity
void MBSim::DynamicSystem::setgTol ( double  tol)
Parameters:
tolerancefor relative velocity
void MBSim::DynamicSystem::setlaTol ( double  tol)
Parameters:
tolerancefor contact force
void MBSim::DynamicSystem::setLaTol ( double  tol)
Parameters:
tolerancefor impact
void MBSim::DynamicSystem::setrMax ( double  rMax)
Parameters:
maximumrelaxation factor for contact equations
void MBSim::DynamicSystem::updatefRef ( const fmatvec::Vec &  ref)

references to order one right hand side of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updategdRef ( const fmatvec::Vec &  ref)

references to relative velocities of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updategRef ( const fmatvec::Vec &  ref)

references to relative distances of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updatehRef ( const fmatvec::Vec &  hRef,
int  i = 0 
)

references to smooth right hand side of dynamic system parent

Parameters:
completevector to be referenced
vectorconcerning objects to be referenced
vectorconcerning links to be referenced
indexof normal usage and inverse kinetics
void MBSim::DynamicSystem::updatejsvRef ( const fmatvec::Vector< int > &  ref)

references to boolean evaluation of stopvector concerning roots of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updatelaRef ( const fmatvec::Vec &  ref)

references to contact force parameters of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateLinkStatusRef ( const fmatvec::Vector< int > &  LinkStatusParent)

references to status vector of set valued links with piecewise link equations (which piece is valid)

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateLinkStatusRegRef ( const fmatvec::Vector< int > &  LinkStatusRegParent)

references to status vector of single valued links

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateLLMRef ( const fmatvec::SymMat &  ref,
int  i = 0 
)

references to Cholesky decomposition of dynamic system parent

Parameters:
matrixto be referenced
indexof normal usage and inverse kinetics
void MBSim::DynamicSystem::updateMRef ( const fmatvec::SymMat &  ref,
int  i = 0 
)

references to mass matrix of dynamic system parent

Parameters:
matrixto be referenced
indexof normal usage and inverse kinetics
void MBSim::DynamicSystem::updateqdRef ( const fmatvec::Vec &  ref)

references to differentiated positions of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateqRef ( const fmatvec::Vec &  ref)

references to positions of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateresRef ( const fmatvec::Vec &  ref)

references to residuum of contact equations of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updaterFactorRef ( const fmatvec::Vec &  ref)

references to relaxation factors for contact equations of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updaterRef ( const fmatvec::Vec &  ref,
int  j = 0 
)

references to nonsmooth right hand side of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updatesvRef ( const fmatvec::Vec &  ref)

references to stopvector (rootfunction for event driven integrator) of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateTRef ( const fmatvec::Mat &  ref)

references to linear transformation matrix between differentiated positions and velocities of dynamic system parent

Parameters:
matrixto be referenced
void MBSim::DynamicSystem::updateuallRef ( const fmatvec::Vec &  ref)

references to velocities of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateudallRef ( const fmatvec::Vec &  ref,
int  i = 0 
)

references to velocities of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateudRef ( const fmatvec::Vec &  ref,
int  i = 0 
)

references to differentiated velocities of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateuRef ( const fmatvec::Vec &  ref)

references to velocities of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateVRef ( const fmatvec::Mat &  ref,
int  i = 0 
)

references to condensed contact force direction matrix of dynamic system parent

Parameters:
matrixto be referenced
indexof normal usage and inverse kinetics
void MBSim::DynamicSystem::updatewbRef ( const fmatvec::Vec &  ref)

references to TODO of dynamic system parent

Parameters:
vectorto be referenced
void MBSim::DynamicSystem::updateWInverseKineticsRef ( const fmatvec::Mat &  ref,
int  i = 0 
)

references to contact force direction matrix of dynamic system parent

Parameters:
matrixto be referenced
indexof normal usage and inverse kinetics
void MBSim::DynamicSystem::updateWRef ( const fmatvec::Mat &  ref,
int  i = 0 
)

references to contact force direction matrix of dynamic system parent

Parameters:
matrixto be referenced
indexof normal usage and inverse kinetics

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