@@ -731,6 +731,8 @@ contains
731
731
integer :: i, j, k, l, q, ii, id !< Generic loop iterators
732
732
integer :: term_index
733
733
734
+ call nvtxStartRange(" Compute_RHS" )
735
+
734
736
! Configuring Coordinate Direction Indexes =========================
735
737
ix%beg = - buff_size; iy%beg = 0 ; iz%beg = 0
736
738
@@ -804,7 +806,7 @@ contains
804
806
q_prim_qp, &
805
807
dq_prim_dx_qp, dq_prim_dy_qp, dq_prim_dz_qp, &
806
808
ix, iy, iz)
807
- call nvtxEndRange()
809
+ call nvtxEndRange
808
810
809
811
call nvtxStartRange(" Surface_Tension" )
810
812
if (.not. f_is_default(sigma)) call s_get_capilary(q_prim_qp%vf)
@@ -833,33 +835,27 @@ contains
833
835
qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
834
836
qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
835
837
id)
836
- call nvtxEndRange
837
838
else
838
-
839
839
iv%beg = 1 ; iv%end = E_idx - 1
840
840
call s_reconstruct_cell_boundary_values( &
841
841
q_prim_qp%vf(iv%beg:iv%end), &
842
842
qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
843
843
qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
844
844
id)
845
- call nvtxEndRange
846
845
847
846
iv%beg = E_idx; iv%end = E_idx
848
847
call s_reconstruct_cell_boundary_values_first_order( &
849
848
q_prim_qp%vf(E_idx), &
850
849
qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
851
850
qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
852
851
id)
853
- call nvtxEndRange
854
852
855
853
iv%beg = E_idx + 1 ; iv%end = sys_size
856
854
call s_reconstruct_cell_boundary_values( &
857
855
q_prim_qp%vf(iv%beg:iv%end), &
858
856
qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
859
857
qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
860
858
id)
861
- call nvtxEndRange
862
-
863
859
end if
864
860
865
861
! Reconstruct viscous derivatives for viscosity
@@ -889,7 +885,7 @@ contains
889
885
end if
890
886
end if
891
887
892
- call nvtxEndRange
888
+ call nvtxEndRange ! WENO
893
889
894
890
! Configuring Coordinate Direction Indexes ======================
895
891
if (id == 1 ) then
@@ -901,6 +897,7 @@ contains
901
897
end if
902
898
ix%end = m; iy%end = n; iz%end = p
903
899
! ===============================================================
900
+ call nvtxStartRange(" RHS_riemann_solver" )
904
901
905
902
! Computing Riemann Solver Flux and Source Flux =================
906
903
@@ -930,7 +927,7 @@ contains
930
927
q_cons_qp, &
931
928
q_prim_qp, &
932
929
flux_src_n(id))
933
- call nvtxEndRange()
930
+ call nvtxEndRange
934
931
935
932
! RHS additions for hypoelasticity
936
933
call nvtxStartRange(" RHS_Hypoelasticity" )
@@ -1038,6 +1035,7 @@ contains
1038
1035
end if
1039
1036
! ==================================================================
1040
1037
1038
+ call nvtxEndRange
1041
1039
end subroutine s_compute_rhs
1042
1040
1043
1041
subroutine s_compute_advection_source_term (idir , rhs_vf , q_cons_vf , q_prim_vf , flux_src_n_vf )
0 commit comments