Home
last modified time | relevance | path

Searched refs:relM (Results 1 – 6 of 6) sorted by relevance

/dports/science/chrono/chrono-7.0.1/src/chrono/physics/
H A DChLinkScrew.cpp48 if (fabs(relM.rot.e0()) < 0.707) { in UpdateState()
49 Crz = relM.rot.e0(); // cos(alpha/2) in UpdateState()
52 if (relM.rot.e3() < 0) { in UpdateState()
56 double mrelz = relM.pos.z(); in UpdateState()
77 Crz = relM.rot.e3(); // Zz*sin(alpha/2) in UpdateState()
80 if (relM.rot.e0() < 0) { in UpdateState()
84 double mrelz = relM.pos.z(); // fmod (relM.pos.z() , (tau * 2 * CH_C_PI)); in UpdateState()
H A DChLinkLock.cpp463 C(index) = relM.pos.x(); in UpdateState()
478 C(index) = relM.pos.y(); in UpdateState()
493 C(index) = relM.pos.z(); in UpdateState()
508 C(index) = relM.rot.e0(); in UpdateState()
523 C(index) = relM.rot.e1(); in UpdateState()
538 C(index) = relM.rot.e2(); in UpdateState()
553 C(index) = relM.rot.e3(); in UpdateState()
607 m_force = Vmul(Vnorm(relM.pos), dfor); in UpdateForces()
817 react_torque.z() = relM.pos.y() * react(local_off); in IntStateScatterReactions()
2215 relC.pos = Vsub(relM.pos, deltaC.pos); in UpdateState()
[all …]
H A DChLinkMarkers.cpp27 relM(CSYSNORM), in ChLinkMarkers()
44 relM = other.relM; // copy vars in ChLinkMarkers()
266 relM.pos = marker2->GetA().transpose() * (Body2->GetA().transpose() * PQw); in UpdateRelMarkerCoords()
269 relM.rot = Qcross(Qconjugate(marker2->GetCoord().rot), in UpdateRelMarkerCoords()
300 Q_to_AngAxis(relM.rot, relAngle, relAxis); in UpdateRelMarkerCoords()
309 ChGwMatrix34<> relGw(relM.rot); in UpdateRelMarkerCoords()
H A DChLinkMarkers.h40 Coordsys relM; ///< relative marker position 2-1 variable
175 const Coordsys& GetRelM() const { return relM; } in GetRelM()
H A DChLinkSpring.cpp94 m_force = Vmul(Vnorm(relM.pos), spr_react); in UpdateForces()
H A DChLinkSpringCB.cpp92 C_force += m_force * relM.pos.GetNormalized(); in UpdateForces()