Skip to content

Commit 507ad2c

Browse files
committed
fix bug
1 parent add1227 commit 507ad2c

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

src/simulation/m_hypoelastic.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,9 @@ contains
426426
tau_xx = q_cons_vf(stress_idx%beg)%sf(k, l, q)
427427
tau_xy = q_cons_vf(stress_idx%beg + 1)%sf(k, l, q)
428428
tau_yy = q_cons_vf(stress_idx%beg + 2)%sf(k, l, q)
429-
tau_zz = q_cons_vf(stress_idx%beg + 3)%sf(k, l, q)
429+
tau_xz = q_cons_vf(stress_idx%beg + 3)%sf(k, l, q)
430430
tau_yz = q_cons_vf(stress_idx%beg + 4)%sf(k, l, q)
431-
tau_xz = q_cons_vf(stress_idx%beg + 5)%sf(k, l, q)
431+
tau_zz = q_cons_vf(stress_idx%beg + 5)%sf(k, l, q)
432432

433433
! Invariants of the stress tensor
434434
I1 = tau_xx + tau_yy + tau_zz

tests/EF3E7C79/golden-metadata.txt

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/EF3E7C79/golden.txt

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)