MBSim |
Project Page |
class for tree-structured mechanical systems with recursive and flat memory mechanism More...
#include <graph.h>
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 | printGraph () |
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 | |
class for tree-structured mechanical systems with recursive and flat memory mechanism
| MBSim::Graph::Graph | ( | const std::string & | name | ) |
constructor
| name | of tree |
| void MBSim::Graph::addObject | ( | int | level, |
| Object * | object | ||
| ) |
add new object to graph at level
| level | |
| object |
1.8.0