MBSim

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

class for tree-structured mechanical systems with recursive and flat memory mechanism More...

#include <graph.h>

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

List of all members.

Public Member Functions

 Graph (const std::string &name)
 constructor
virtual ~Graph ()
 destructor
virtual void updateStateDependentVariables (double t)
virtual void updatedu (double t, double dt)
virtual void updatezd (double t)
virtual void updateud (double t, int i=0)
virtual void sethSize (int h, int j=0)
virtual void calcqSize ()
virtual void calcuSize (int j=0)
virtual void setqInd (int qInd)
virtual void setuInd (int uInd, int j=0)
virtual void sethInd (int hInd, int j=0)
virtual std::string getType () const
 DEPRECATED.
virtual void updateJacobians (double t, int j=0)
void facLLM (int i=0)
 compute Cholesky decomposition of mass matrix TODO necessary?
void calcuSize0 ()
void calcuSize1 ()
void sethSize0 (int h)
void sethSize1 (int h)
void setuInd0 (int uInd)
void setuInd1 (int uInd)
void sethInd0 (int hInd)
void sethInd1 (int hInd)
void addObject (int level, Object *object)
 add new object to graph at level
void co ()

Public Attributes

void(Graph::* calcuSize_ [2])()
void(Graph::* sethSize_ [2])(int h)
void(Graph::* setuInd_ [2])(int uInd)
void(Graph::* sethInd_ [2])(int hInd)

Protected Attributes

std::vector< std::vector
< Object * > > 
obj
 none

Detailed Description

class for tree-structured mechanical systems with recursive and flat memory mechanism

Author:
Martin Foerg
Date:
2009-03-26 some comments (Thorsten Schindler)

Constructor & Destructor Documentation

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

constructor

Parameters:
nameof tree

Member Function Documentation

void MBSim::Graph::addObject ( int  level,
Object *  object 
)

add new object to graph at level

Parameters:
level
object

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