Skip to content
Snippets Groups Projects
Commit 13485f11 authored by jonathan.froehlich's avatar jonathan.froehlich
Browse files

Fixed NeoHooke test

parent 2df04981
No related branches found
No related tags found
3 merge requests!153Local add output info,!144Debug cardmech,!117Resolve "Fix volumetric derivatives"
Pipeline #123690 failed
......@@ -32,10 +32,10 @@ TEST_P(NeoHookeMaterialTest, PenaltyInclusion) {
Tensor F = 2 * One;
EXPECT_DOUBLE_EQ(lambda * mat.VolEnergy(det(F)), lambda * 0.5 * 49.0 - mu * log(8.0));
EXPECT_DOUBLE_EQ(lambda * mat.VolEnergy(F), lambda * 0.5 * 49.0 - mu * log(8.0));
}
INSTANTIATE_TEST_SUITE_P(GuccioneMaterial, NeoHookeMaterialTest, ValuesIn(neohookeTestParameters)
INSTANTIATE_TEST_SUITE_P(NeoHookeMaterial, NeoHookeMaterialTest, ValuesIn(neohookeTestParameters)
);
#endif //CARDMECH_TESTNEOHOOKEMATERIAL_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment