22 #include "mbsim/element.h" 33 virtual void updateGeneralizedCoordinates() {}
34 virtual void updateGeneralizedJacobians(
int j=0) { }
35 virtual void updatedx();
36 virtual void updatexd() { }
37 virtual void calcxSize() {
xSize = 0; }
40 virtual int getxInd() {
return xInd; }
41 virtual void setxInd(
int xInd_) { xInd = xInd_; };
42 virtual int getxSize()
const {
return xSize; }
43 int getisInd() {
return isInd; }
44 virtual void setisInd(
int isInd_) { isInd = isInd_; }
45 int getisSize() {
return isSize; }
49 virtual void calcisSize() { isSize = 0; }
53 virtual void setUpInverseKinetics() { }
55 bool getUpdateGeneralizedCoordinates()
const {
return updGC; }
56 bool getUpdateGeneralizedJacobians()
const {
return updGJ; }
58 void resetUpToDate()
override { updGC =
true; updGJ =
true; }
int xSize
size and local index of order one parameters
Definition: constraint.h:87
void createPlotGroup() override
creates the plotGroup for H5-output
Definition: constraint.cc:78
basic class of MBSim mainly for plotting
Definition: element.h:56
fmatvec::Vec xd
differentiated order one parameters
Definition: constraint.h:73
fmatvec::Vec x
order one parameters
Definition: constraint.h:68
std::string name
name of element
Definition: element.h:249
Class for constraints between generalized coordinates of objects.
Definition: constraint.h:30
fmatvec::Vec x0
order one initial value
Definition: constraint.h:80
namespace MBSim
Definition: bilateral_constraint.cc:29