Add elasticity parameters to the schema.

PiperOrigin-RevId: 675115200
Change-Id: Ic6608ce61cbb857dca71b3d9cbdac057e8f1ac7a
This commit is contained in:
Alessio Quaglino
2024-09-16 05:55:40 -07:00
committed by Copybara-Service
parent 015bdeb756
commit b15de2c951
17 changed files with 146 additions and 52 deletions
+20
View File
@@ -9631,6 +9631,26 @@ STRUCTS: Mapping[str, StructDecl] = dict([
),
doc='name of material used for rendering',
),
StructFieldDecl(
name='young',
type=ValueType(name='double'),
doc="Young's modulus",
),
StructFieldDecl(
name='poisson',
type=ValueType(name='double'),
doc="Poisson's ratio",
),
StructFieldDecl(
name='damping',
type=ValueType(name='double'),
doc="Rayleigh's damping",
),
StructFieldDecl(
name='thickness',
type=ValueType(name='double'),
doc='thickness (2D only)',
),
StructFieldDecl(
name='vertbody',
type=PointerType(