File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 8484 pcorr = 0._wp
8585
8686 if (low_Mach == 1 ) then
87- pcorr = - (s_P - s_M)* (rho_L + rho_R)/ 8._wp * (zcoef - 1._wp )
87+ pcorr = - (s_P - s_M)* (rho_L + rho_R)/ 8._wp * (zcoef - 1._wp )
8888 end if
8989
9090 else if (riemann_solver == 2 ) then
Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ contains
740740 (pres_L - pres_R)/ &
741741 (rho_avg* c_avg))
742742 end if
743-
743+
744744 s_M = min (0._wp , s_L); s_P = max (0._wp , s_R)
745745
746746 xi_M = (5e-1_wp + sign (5e-1_wp , s_L)) &
@@ -752,8 +752,10 @@ contains
752752
753753 if (low_Mach == 1 ) then
754754 @:compute_low_Mach_correction()
755+ else
756+ pcorr = 0._wp
755757 end if
756-
758+
757759 ! Mass
758760 if (.not. relativity) then
759761 !$acc loop seq
@@ -2262,6 +2264,8 @@ contains
22622264
22632265 if (low_Mach == 1) then
22642266 @:compute_low_Mach_correction()
2267+ else
2268+ pcorr = 0._wp
22652269 end if
22662270
22672271 !$acc loop seq
@@ -2739,6 +2743,8 @@ contains
27392743 ! MASS FLUX.
27402744 if (low_Mach == 1) then
27412745 @:compute_low_Mach_correction()
2746+ else
2747+ pcorr = 0._wp
27422748 end if
27432749
27442750 !$acc loop seq
You can’t perform that action at this time.
0 commit comments