23 #include "mbsim/dynamic_system.h" 47 ~Graph()
override =
default;
49 void updateT()
override;
50 void updateM()
override;
51 void updateLLM()
override;
52 void updateh(
int k=0)
override;
53 void updatedq()
override;
54 void updatedu()
override;
55 void updatezd()
override;
56 void sethSize(
int h,
int j=0)
override {(this->*sethSize_[j])(
h);}
57 void calcqSize()
override;
58 void calcuSize(
int j=0)
override {(this->*calcuSize_[j])();}
59 void setqInd(
int qInd)
override;
60 void setuInd(
int uInd,
int j=0)
override {(this->*setuInd_[j])(uInd);}
61 void sethInd(
int hInd,
int j=0)
override {(this->*sethInd_[j])(hInd);}
64 void (
Graph::*calcuSize_[2])();
65 void (
Graph::*sethSize_[2])(
int h);
66 void (
Graph::*setuInd_[2])(
int uInd);
67 void (
Graph::*sethInd_[2])(
int hInd);
71 void sethSize0(
int h);
72 void sethSize1(
int h);
73 void setuInd0(
int uInd);
74 void setuInd1(
int uInd);
75 void sethInd0(
int hInd);
76 void sethInd1(
int hInd);
89 std::vector< std::vector<Object*>>
obj;
Graph(const std::string &name)
constructor
Definition: graph.cc:29
void addObject(int level, Object *object)
add new object to graph at level
Definition: graph.cc:144
fmatvec::Vec h[2]
smooth, smooth with respect to objects, smooth with respect to links and nonsmooth
Definition: dynamic_system.h:822
std::vector< std::vector< Object * > > obj
none
Definition: graph.h:89
dynamic system as topmost hierarchical level
Definition: dynamic_system.h:58
class for tree-structured mechanical systems with recursive and flat memory mechanism
Definition: graph.h:36
std::string name
name of element
Definition: element.h:235
~Graph() override=default
destructor
class for all objects having own dynamics and mass
Definition: object.h:43
namespace MBSim
Definition: eigenanalyzer.cc:47