Skip to content

Commit 7570818

Browse files
committed
populate primitive variable buffer after hyperelasticity for stress in rhs
1 parent 86ae789 commit 7570818

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/simulation/m_rhs.fpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,10 @@ contains
673673
call nvtxEndRange
674674

675675
call nvtxStartRange("RHS-ELASTIC")
676-
if (hyperelasticity) call s_hyperelastic_rmt_stress_update(q_cons_qp%vf, q_prim_qp%vf)
676+
if (hyperelasticity) then
677+
call s_hyperelastic_rmt_stress_update(q_cons_qp%vf, q_prim_qp%vf)
678+
call s_populate_primitive_variables_buffers(q_prim_qp%vf, pb, mv)
679+
end if
677680
call nvtxEndRange
678681

679682
if (cfl_dt) then

0 commit comments

Comments
 (0)