Skip to content

Commit 87c7855

Browse files
quaglacopybara-github
authored andcommitted
Introduces a new "strain" equality mode (flex_edgeequality = 3) for flexcomps with trilinear interpolation. This mode enforces constraints on the three invariants of the Green-Lagrange strain tensor at 8 Gauss quadrature points within each flex element, resulting in 24 equality constraints per flexcomp.
Also fixes a bug when attaching a flex with constraints. PiperOrigin-RevId: 881349765 Change-Id: I0561aa4f62442a8ba53c96b8328110c8a27cc8a0
1 parent 80ac24d commit 87c7855

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dm_control/mjcf/schema.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,6 +1909,16 @@
19091909
<attribute name="flex" type="identifier"/>
19101910
</attributes>
19111911
</element>
1912+
<element name="flexstrain" repeated="true" namespace="equality">
1913+
<attributes>
1914+
<attribute name="name" type="identifier"/>
1915+
<attribute name="class" type="reference" reference_namespace="default"/>
1916+
<attribute name="active" type="keyword" valid_values="false true"/>
1917+
<attribute name="solref" type="array" array_type="float" array_size="2"/>
1918+
<attribute name="solimp" type="array" array_type="float" array_size="5"/>
1919+
<attribute name="flex" type="identifier"/>
1920+
</attributes>
1921+
</element>
19121922
</children>
19131923
</element>
19141924
<element name="tendon">

0 commit comments

Comments
 (0)