Move bending stiffness from plugin to the compiler.
PiperOrigin-RevId: 758677644 Change-Id: I7d5c5140ba6948002bfa4ae9d6b4bf0f6de0e39b
This commit is contained in:
committed by
Copybara-Service
parent
d8bebdc675
commit
71bdd915f7
@@ -2755,6 +2755,14 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
doc='finite element stiffness matrix',
|
||||
array_extent=('nflexelem', 21),
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='flex_bending',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjtNum'),
|
||||
),
|
||||
doc='bending stiffness',
|
||||
array_extent=('nflexedge', 16),
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='flex_damping',
|
||||
type=PointerType(
|
||||
@@ -10867,6 +10875,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
type=ValueType(name='double'),
|
||||
doc='thickness (2D only)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='elastic2d',
|
||||
type=ValueType(name='int'),
|
||||
doc='2D passive forces; 0: none, 1: bending, 2: stretching, 3: both', # pylint: disable=line-too-long
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nodebody',
|
||||
type=PointerType(
|
||||
|
||||
Reference in New Issue
Block a user