Remove edge length computations from elasticity plugins.
Read the lengths from mjModel and mjData flex arrays. PiperOrigin-RevId: 673116608 Change-Id: Iffa209abb7443707effaffb5bda99345399fac1c
This commit is contained in:
committed by
Copybara-Service
parent
e4d4153352
commit
33e56ccb88
@@ -51,9 +51,7 @@ class Solid {
|
||||
|
||||
// precomputed quantities
|
||||
std::vector<mjtNum> metric; // geom-induced metric (nt x 36)
|
||||
std::vector<mjtNum> reference; // reference lengths (ne x 1)
|
||||
std::vector<mjtNum> deformed; // deformed lengths (ne x 1)
|
||||
std::vector<mjtNum> previous; // previous-step lengths (ne x 1)
|
||||
std::vector<mjtNum> prev; // previous-step lengths (ne x 1)
|
||||
std::vector<mjtNum> elongation; // edge elongation (ne x 1)
|
||||
std::vector<mjtNum> force; // force at all vertices (nv x 3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user