Skip to content

Commit 110e497

Browse files
committed
Mostly fixed IBM test cases
1 parent 4b913af commit 110e497

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/simulation/m_ibm.fpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,9 @@ contains
317317
#:endcall GPU_PARALLEL_LOOP
318318

319319
!Correct the state of the inner points in IBs
320+
if (num_inner_gps > 0) then
320321
#:call GPU_PARALLEL_LOOP(private='[physical_loc,dyn_pres,alpha_rho_IP, alpha_IP,vel_g,rho,gamma,pi_inf,Re_K,innerp,j,k,l,q]')
321-
do i = 1, num_inner_gps
322+
do i = 1, num_inner_gps
322323

323324
innerp = inner_points(i)
324325
j = innerp%loc(1)
@@ -331,6 +332,7 @@ contains
331332
end do
332333
end do
333334
#:endcall GPU_PARALLEL_LOOP
335+
end if
334336

335337
end subroutine s_ibm_correct_state
336338

0 commit comments

Comments
 (0)