Skip to content

Commit c862070

Browse files
Address AI comments
1 parent 7c39cf4 commit c862070

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/simulation/m_ibm.fpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ contains
496496
end do
497497
$:END_GPU_PARALLEL_LOOP()
498498
499-
if (bounds_error) error stop "Ghost Point and Image Point on Different Processors. Exiting"
499+
@:PROHIBIT(bounds_error, "Ghost Point and Image Point on Different Processors. Exiting")
500500
501501
end subroutine s_compute_image_points
502502
@@ -1430,7 +1430,6 @@ contains
14301430
end if
14311431
end do
14321432
if (is_new) then
1433-
print *, proc_rank, " New Owner ", patch_ib(k)%gbl_patch_id ! TODO :: REMOVE THIS DEBUG PRINT
14341433
call MPI_PACK(patch_ib(k), patch_bytes, MPI_BYTE, send_buf, buf_size, pack_pos, MPI_COMM_WORLD, ierr)
14351434
new_count = new_count + 1
14361435
end if
@@ -1540,6 +1539,10 @@ contains
15401539
@:DEALLOCATE(airfoil_grid_l)
15411540
end if
15421541

1542+
if (allocated(models)) then
1543+
@:DEALLOCATE(models)
1544+
end if
1545+
15431546
if (collision_model > 0) call s_finalize_collisions_module()
15441547

15451548
#ifdef MFC_MPI

0 commit comments

Comments
 (0)