Skip to content

Commit

Permalink
update Jureczka_and_Ochal_2019 test
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Mar 27, 2024
1 parent c309890 commit 517cdd6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion examples/Jureczka_and_Ochal_2019.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def inner_forces(x, t=None):

@staticmethod
def outer_forces(x, t=None):
return np.array([0.5, 0.5])
return np.array([0, 0])

@staticmethod
def friction_bound(u_nu: float) -> float:
Expand Down
96 changes: 48 additions & 48 deletions tests/test_conmech/regression/test_Jureczka_and_Ochal_2019.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,54 +13,54 @@ def solving_method(request):

def test(solving_method):
expected_displacement_vector = [
[0.0, 0.0],
[0.03425259, 0.02042142],
[0.05996324, 0.02664742],
[0.08242059, 0.03067725],
[0.10278965, 0.03311017],
[0.12126769, 0.03481482],
[0.13788175, 0.03610288],
[0.15261347, 0.03712887],
[0.1654474, 0.03795604],
[0.17637907, 0.03860709],
[0.18541298, 0.03908582],
[0.19255815, 0.03938675],
[0.19782477, 0.03949766],
[0.20122288, 0.03939805],
[0.20276421, 0.03905306],
[0.20247181, 0.0384095],
[0.20040875, 0.037322],
[0.20149744, 0.04556468],
[0.20222959, 0.0526955],
[0.20253194, 0.05876645],
[0.20232406, 0.06378807],
[0.20154042, 0.06774787],
[0.20013429, 0.07061872],
[0.19808398, 0.07236208],
[0.19540129, 0.0729355],
[0.19452563, 0.06978214],
[0.19189549, 0.06617879],
[0.18754677, 0.06212332],
[0.18150793, 0.05762658],
[0.17379886, 0.05270484],
[0.1644381, 0.04736932],
[0.15345191, 0.04162382],
[0.14088499, 0.0354679],
[0.12681317, 0.02890669],
[0.11135776, 0.02197101],
[0.09470009, 0.01475316],
[0.07709233, 0.00747065],
[0.05885017, 0.000569],
[0.04030411, -0.00500039],
[0.02135662, -0.00767498],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0., 0.],
[0.03522857, 0.02154723],
[0.06134879, 0.02852184],
[0.08393532, 0.03320384],
[0.10426168, 0.03618088],
[0.12257757, 0.03834405],
[0.13894498, 0.04001477],
[0.15337147, 0.04135569],
[0.1658617, 0.04243747],
[0.17642638, 0.04329012],
[0.18508084, 0.04392449],
[0.19184122, 0.04434147],
[0.1967216, 0.04453428],
[0.19973326, 0.04448642],
[0.20088703, 0.0441648],
[0.20020383, 0.04351448],
[0.19774689, 0.04237685],
[0.19891282, 0.05173695],
[0.19972586, 0.05984292],
[0.20010308, 0.06674484],
[0.19996122, 0.07244883],
[0.19923657, 0.07693874],
[0.19788669, 0.08018577],
[0.19589475, 0.08215244],
[0.19327284, 0.08279996],
[0.19239862, 0.07968588],
[0.18976624, 0.07607903],
[0.18540719, 0.07197493],
[0.17934638, 0.06737894],
[0.1716013, 0.0622999],
[0.16218933, 0.05673946],
[0.15113744, 0.05068978],
[0.13849374, 0.04413655],
[0.12434129, 0.03706901],
[0.10881389, 0.02950038],
[0.09211286, 0.02150421],
[0.0745211, 0.01327832],
[0.05640314, 0.00524877],
[0.03817266, -0.00165521],
[0.01990921, -0.00585183],
[0., 0.],
[0., 0.],
[0., 0.],
[0., 0.],
[0., 0.],
[0., 0.],
[0., 0.],
[0., 0.]
]

mesh_descr = CrossMeshDescription(
Expand Down

0 comments on commit 517cdd6

Please sign in to comment.