43 const double *
const posB,
44 const double *
const velA,
45 const double *
const velB,
55 const double *
const posB,
56 const double *
const velA,
57 const double *
const velB,
58 const double *
const vecB,
59 const double *
const vecR,
60 const double *
const vecBdot,
61 const double *
const vecRdot,
62 const double *
const endNodeSum,
97 double *m_nodePositions;
98 double *m_nodeVelocities;
128 double m_totalSumD[3];
131 bool CalcBarForces(
double *nodeForces);
132 bool CalcTau(
const double *
const vecB,
133 const double *
const vecBdot);
134 bool CalcLambda(
const double *
const posA,
135 const double *
const velA,
136 const double *
const vecB,
137 const double *
const vecBdot,
138 const double *
const vecR,
139 const double *
const vecRdot);
141 bool CalcAcc(
const double *
const posB,
142 const double *
const velB,
143 const double *
const vecB,
144 const double *
const vecBdot,
145 const double *
const vecR,
146 const double *
const vecRdot,
147 const double *
const endNodeSum,
149 bool CalcEndForces();
150 bool CalcNodePositions(
const double *
const vecB,
151 const double *
const vecR);
152 bool CalcNodeVelocities(
const double *
const vecBdot,
153 const double *
const vecRdot);
155 void MatrixCalcAcc(
const double *tau1,
const double *tau2,
156 const double *lambda,
double **accR,
158 void MatrixCalcLambda(
const double *tau1,
const double *tau2,
159 const double * barConstraint,
160 const double *ndotdot,
161 const double *invert,
163 void CreateMatrises(
void);
Class containing a Rigid Bar Cable (RBC) calculation engine.
Definition: CRBCEngine.h:20
bool GetNodePositions(double *nodePosition)
(dim: 3(N+1))
bool GetEndForces(double *forceA, double *forceB)
(dim: 3)
bool GetAccelerations(double *bDotDot, double *rDotDot)
Get functions are based on the last StateUpdate call.
bool GetInitialStates(const double *const posA, const double *const posB, const double *const velA, const double *const velB, double *vecB, double *vecR, double *vecBdot, double *vecRdot, double *endNodeSum)
bool GetNodeVelocities(double *nodeVelocities)
(dim: 3(N+1))
CRBCEngine(int nofBarElements, double dBarMass, double dLength, double dOmegaNL, double dOmegaN, double dZetaNL, double dZetaN, bool fixedFixed, double kei, double ked, double kep)
The constructor.
bool GetEndNodeSum(double *endNodeSum)
(dim: 3)
bool StateUpdate(const double *const posA, const double *const posB, const double *const velA, const double *const velB, const double *const vecB, const double *const vecR, const double *const vecBdot, const double *const vecRdot, const double *const endNodeSum, double *addedMass, double *nodeForces, const double dT)
~CRBCEngine()
The destructor cleans up dynamically allocated memory.