Skip to content

Commit 75d69a2

Browse files
Testing out forcing an inline to resolve the intel compiler issue
1 parent 272ccc4 commit 75d69a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/simulation/m_time_steppers.fpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ contains
538538

539539
if (bubbles_lagrange .and. .not. adap_dt) call s_update_lagrange_tdv_rk(stage=1)
540540

541+
!DIR$ FORCEINLINE
541542
call s_evolve_q_pb_mv(2, 1._wp, 0._wp, 1._wp, 1._wp)
542543

543544
if (bodyForces) call s_apply_bodyforces(q_cons_ts(2)%vf, q_prim_vf, rhs_vf, dt)
@@ -564,6 +565,7 @@ contains
564565

565566
if (bubbles_lagrange .and. .not. adap_dt) call s_update_lagrange_tdv_rk(stage=2)
566567

568+
!DIR$ FORCEINLINE
567569
call s_evolve_q_pb_mv(1, 1._wp, 1._wp, 1._wp, 2._wp)
568570

569571
if (bodyForces) call s_apply_bodyforces(q_cons_ts(1)%vf, q_prim_vf, rhs_vf, 2._wp*dt/3._wp)
@@ -626,6 +628,7 @@ contains
626628

627629
if (bubbles_lagrange .and. .not. adap_dt) call s_update_lagrange_tdv_rk(stage=1)
628630

631+
!DIR$ FORCEINLINE
629632
call s_evolve_q_pb_mv(2, 1._wp, 0._wp, 1._wp, 1._wp)
630633

631634
if (bodyForces) call s_apply_bodyforces(q_cons_ts(2)%vf, q_prim_vf, rhs_vf, dt)
@@ -652,6 +655,7 @@ contains
652655

653656
if (bubbles_lagrange .and. .not. adap_dt) call s_update_lagrange_tdv_rk(stage=2)
654657

658+
!DIR$ FORCEINLINE
655659
call s_evolve_q_pb_mv(2, 3._wp, 1._wp, 1._wp, 4._wp)
656660

657661
if (bodyForces) call s_apply_bodyforces(q_cons_ts(2)%vf, q_prim_vf, rhs_vf, dt/4._wp)
@@ -677,6 +681,7 @@ contains
677681

678682
if (bubbles_lagrange .and. .not. adap_dt) call s_update_lagrange_tdv_rk(stage=3)
679683

684+
!DIR$ FORCEINLINE
680685
call s_evolve_q_pb_mv(1, 1._wp, 2._wp, 2._wp, 3._wp)
681686

682687
if (bodyForces) call s_apply_bodyforces(q_cons_ts(1)%vf, q_prim_vf, rhs_vf, 2._wp*dt/3._wp)

0 commit comments

Comments
 (0)