@@ -401,7 +401,7 @@ contains
401401 !! @param save_count File identifier
402402 subroutine s_restart_bubbles (bub_id , save_count )
403403
404- integer :: bub_id, save_count
404+ integer , intent ( inout ) :: bub_id, save_count
405405
406406 character (LEN= path_len + 2 * name_len) :: file_loc
407407
@@ -1460,7 +1460,7 @@ contains
14601460 function particle_in_domain (pos_part )
14611461
14621462 logical :: particle_in_domain
1463- real (wp), dimension (3 ) :: pos_part
1463+ real (wp), dimension (3 ), intent ( in ) :: pos_part
14641464
14651465 ! 2D
14661466 if (p == 0 .and. cyl_coord .neqv. .true. ) then
@@ -1513,7 +1513,7 @@ contains
15131513 function particle_in_domain_physical (pos_part )
15141514
15151515 logical :: particle_in_domain_physical
1516- real (wp), dimension (3 ) :: pos_part
1516+ real (wp), dimension (3 ), intent ( in ) :: pos_part
15171517
15181518 particle_in_domain_physical = ((pos_part(1 ) < x_cb(m)) .and. (pos_part(1 ) >= x_cb(- 1 )) .and. &
15191519 (pos_part(2 ) < y_cb(n)) .and. (pos_part(2 ) >= y_cb(- 1 )))
@@ -1589,7 +1589,7 @@ contains
15891589 !! @param q_time Current time
15901590 subroutine s_write_lag_particles (qtime )
15911591
1592- real (wp) :: qtime
1592+ real (wp), intent ( in ) :: qtime
15931593 integer :: k
15941594
15951595 character (LEN= path_len + 2 * name_len) :: file_loc
@@ -1631,7 +1631,8 @@ contains
16311631 !! @param q_time Current time
16321632 subroutine s_write_void_evol (qtime )
16331633
1634- real (wp) :: qtime, volcell, voltot
1634+ real (wp), intent (in ) :: qtime
1635+ real (wp) :: volcell, voltot
16351636 real (wp) :: lag_void_max, lag_void_avg, lag_vol
16361637 real (wp) :: void_max_glb, void_avg_glb, vol_glb
16371638
@@ -1704,11 +1705,12 @@ contains
17041705 subroutine s_write_restart_lag_bubbles (t_step )
17051706
17061707 ! Generic string used to store the address of a particular file
1708+ integer , intent (in ) :: t_step
1709+
17071710 character (LEN= path_len + 2 * name_len) :: file_loc
17081711 logical :: file_exist
1709-
1710- integer :: i, k, t_step
17111712 integer :: bub_id, tot_part, tot_part_wrtn, npart_wrtn
1713+ integer :: i, k
17121714
17131715#ifdef MFC_MPI
17141716 ! For Parallel I/ O
0 commit comments