@@ -731,6 +731,8 @@ contains
731731 integer :: i, j, k, l, q, ii, id !< Generic loop iterators
732732 integer :: term_index
733733
734+ call nvtxStartRange(" Compute_RHS" )
735+
734736 ! Configuring Coordinate Direction Indexes =========================
735737 ix%beg = - buff_size; iy%beg = 0 ; iz%beg = 0
736738
@@ -804,7 +806,7 @@ contains
804806 q_prim_qp, &
805807 dq_prim_dx_qp, dq_prim_dy_qp, dq_prim_dz_qp, &
806808 ix, iy, iz)
807- call nvtxEndRange()
809+ call nvtxEndRange
808810
809811 call nvtxStartRange(" Surface_Tension" )
810812 if (.not. f_is_default(sigma)) call s_get_capilary(q_prim_qp%vf)
@@ -833,33 +835,27 @@ contains
833835 qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
834836 qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
835837 id)
836- call nvtxEndRange
837838 else
838-
839839 iv%beg = 1 ; iv%end = E_idx - 1
840840 call s_reconstruct_cell_boundary_values( &
841841 q_prim_qp%vf(iv%beg:iv%end), &
842842 qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
843843 qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
844844 id)
845- call nvtxEndRange
846845
847846 iv%beg = E_idx; iv%end = E_idx
848847 call s_reconstruct_cell_boundary_values_first_order( &
849848 q_prim_qp%vf(E_idx), &
850849 qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
851850 qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
852851 id)
853- call nvtxEndRange
854852
855853 iv%beg = E_idx + 1 ; iv%end = sys_size
856854 call s_reconstruct_cell_boundary_values( &
857855 q_prim_qp%vf(iv%beg:iv%end), &
858856 qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
859857 qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
860858 id)
861- call nvtxEndRange
862-
863859 end if
864860
865861 ! Reconstruct viscous derivatives for viscosity
@@ -889,7 +885,7 @@ contains
889885 end if
890886 end if
891887
892- call nvtxEndRange
888+ call nvtxEndRange ! WENO
893889
894890 ! Configuring Coordinate Direction Indexes ======================
895891 if (id == 1 ) then
@@ -901,6 +897,7 @@ contains
901897 end if
902898 ix%end = m; iy%end = n; iz%end = p
903899 ! ===============================================================
900+ call nvtxStartRange(" RHS_riemann_solver" )
904901
905902 ! Computing Riemann Solver Flux and Source Flux =================
906903
@@ -930,7 +927,7 @@ contains
930927 q_cons_qp, &
931928 q_prim_qp, &
932929 flux_src_n(id))
933- call nvtxEndRange()
930+ call nvtxEndRange
934931
935932 ! RHS additions for hypoelasticity
936933 call nvtxStartRange(" RHS_Hypoelasticity" )
@@ -1038,6 +1035,7 @@ contains
10381035 end if
10391036 ! ==================================================================
10401037
1038+ call nvtxEndRange
10411039 end subroutine s_compute_rhs
10421040
10431041 subroutine s_compute_advection_source_term (idir , rhs_vf , q_cons_vf , q_prim_vf , flux_src_n_vf )
0 commit comments