Refactor shell stiffness computation to use pure membrane modes plus an explicit warp mode.

PiperOrigin-RevId: 916879634
Change-Id: Ib706909521b4f503b13904a34b0e29aefd4fa433
This commit is contained in:
Alessio Quaglino
2026-05-17 12:59:34 -07:00
committed by Copybara-Service
parent a897805683
commit 8a20ce24d3
3 changed files with 153 additions and 129 deletions
+2 -3
View File
@@ -709,9 +709,8 @@ TEST_F(CoreConstraintTest, ShellModeBendZeroForceAtRest) {
// Check number of equalities
EXPECT_EQ(m->neq, 6);
// Check total number of scalar equality constraints
// 6 faces * 6 physical modes per face = 36
// (2 spurious rigid-rotation modes from transverse shear are projected out)
// 6 faces * 6 modes per face = 36
// (5 membrane modes from pure 2D eigendecomposition + 1 explicit warp)
EXPECT_EQ(d->ne, 36);
// all constraint residuals should be zero at rest