Skip to content

Commit

Permalink
Fix NVTX Ranges (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryleberre authored Dec 29, 2024
1 parent d667ea7 commit 053ed40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/simulation/m_rhs.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,10 +774,8 @@ contains
end if
irx%end = m; iry%end = n; irz%end = p

call nvtxStartRange("RHS-RIEMANN-SOLVER")

! Computing Riemann Solver Flux and Source Flux
call nvtxStartRange("RHS_riemann_solver")
call nvtxStartRange("RHS-RIEMANN-SOLVER")
call s_riemann_solver(qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
dqR_prim_dx_n(id)%vf, &
dqR_prim_dy_n(id)%vf, &
Expand Down
3 changes: 2 additions & 1 deletion src/simulation/m_time_steppers.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ contains
end if

if (bodyForces) call s_apply_bodyforces(q_cons_ts(1)%vf, q_prim_vf, rhs_vf, dt)
call nvtxEndRange

if (grid_geometry == 3) call s_apply_fourier_filter(q_cons_ts(1)%vf)

Expand All @@ -406,6 +405,8 @@ contains
end if
end if

call nvtxEndRange

end subroutine s_1st_order_tvd_rk

!> 2nd order TVD RK time-stepping algorithm
Expand Down

0 comments on commit 053ed40

Please sign in to comment.