Integrate Refactor solver sources and dual MSVC CMake builds

This commit is contained in:
KOKO\Mimi
2026-10-18 02:10:51 +09:00
parent 7ee32e5837
commit 12d51480de
218 changed files with 17842 additions and 9689 deletions
+13
View File
@@ -1173,3 +1173,16 @@ TEST(Mitc4ShellPhysicalRecovery,
}
EXPECT_NEAR(recovery.strain_energy, 72.16, 1.0e-12);
}
TEST(Mitc4ShellKinematics, RetainsReciprocalDeterminantOverflowGateAtTinyScale) {
const std::array<fesa::Node, 4> nodes{
Node(0, {0.0, 0.0, 0.0}), Node(1, {2e-104, 0.0, 0.0}),
Node(2, {2e-104, 2e-104, 0.0}), Node(3, {0.0, 2e-104, 0.0})};
EXPECT_TRUE(fesa::Mitc4Shell::Create(
NodePointers(nodes), Directors(), Section(2e-99), Material()).HasValue());
const auto rejected = fesa::Mitc4Shell::Create(
NodePointers(nodes), Directors(), Section(2e-102), Material());
ASSERT_FALSE(rejected.HasValue());
EXPECT_EQ(rejected.GetStatus().Diagnostics()[0].code,
"invalid-shell-jacobian");
}