Commit 2b700c69 authored by GILLES Sebastien's avatar GILLES Sebastien

#1303 Fix the non linear membrane test to match new operator interface:...

#1303 Fix the non linear membrane test to match new operator interface: pretension has been properly added (albeit with a value of 0). Note: the test currently fails with this modification!
parent 2b876209
......@@ -82,12 +82,18 @@ namespace MoReFEM
domain_surface,
1.);
scalar_parameter_type pretension("Pretension",
domain_surface,
0.);
GVO::NonlinearMembrane stiffness_operator(felt_space_surface,
displacement_ptr,
displacement_ptr,
solid.GetYoungModulus(),
solid.GetPoissonRatio(),
thickness);
thickness,
pretension);
GlobalMatrix matrix_tangent_stiffness(displacement_numbering_subset, displacement_numbering_subset);
AllocateGlobalMatrix(god_of_dof, matrix_tangent_stiffness);
......
......@@ -87,12 +87,17 @@ namespace MoReFEM
domain_surface,
1.);
scalar_parameter_type pretension("Pretension",
domain_surface,
0.);
GVO::NonlinearMembrane stiffness_operator(felt_space_surface,
displacement_p2_ptr,
displacement_p1_ptr,
solid.GetYoungModulus(),
solid.GetPoissonRatio(),
thickness);
thickness,
pretension);
GlobalMatrix matrix_tangent_stiffness(displacement_p1_numbering_subset, displacement_p2_numbering_subset);
AllocateGlobalMatrix(god_of_dof, matrix_tangent_stiffness);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment