@@ -42,7 +42,7 @@ module m_boundary_common
4242
4343contains
4444
45- subroutine s_initialize_boundary_common_module ()
45+ impure subroutine s_initialize_boundary_common_module ()
4646
4747 bcxb = bc_x%beg; bcxe = bc_x%end; bcyb = bc_y%beg; bcye = bc_y%end; bczb = bc_z%beg; bcze = bc_z%end
4848
@@ -71,7 +71,7 @@ contains
7171 !> The purpose of this procedure is to populate the buffers
7272 !! of the primitive variables, depending on the selected
7373 !! boundary conditions.
74- subroutine s_populate_variables_buffers (q_prim_vf , pb , mv , bc_type )
74+ impure subroutine s_populate_variables_buffers (q_prim_vf , pb , mv , bc_type )
7575
7676 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
7777 real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
@@ -237,7 +237,7 @@ contains
237237
238238 end subroutine s_populate_variables_buffers
239239
240- subroutine s_ghost_cell_extrapolation (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
240+ pure subroutine s_ghost_cell_extrapolation (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
241241#ifdef _CRAYFTN
242242 !DIR$ INLINEALWAYS s_ghost_cell_extrapolation
243243#else
@@ -306,7 +306,7 @@ contains
306306
307307 end subroutine s_ghost_cell_extrapolation
308308
309- subroutine s_symmetry (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
309+ pure subroutine s_symmetry (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
310310#ifdef _CRAYFTN
311311 !DIR$ INLINEALWAYS s_symmetry
312312#else
@@ -570,7 +570,7 @@ contains
570570
571571 end subroutine s_symmetry
572572
573- subroutine s_periodic (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
573+ pure subroutine s_periodic (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
574574#ifdef _CRAYFTN
575575 !DIR$ INLINEALWAYS s_periodic
576576#else
@@ -713,7 +713,7 @@ contains
713713
714714 end subroutine s_periodic
715715
716- subroutine s_axis (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
716+ pure subroutine s_axis (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
717717#ifdef _CRAYFTN
718718 !DIR$ INLINEALWAYS s_axis
719719#else
@@ -777,7 +777,7 @@ contains
777777
778778 end subroutine s_axis
779779
780- subroutine s_slip_wall (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
780+ pure subroutine s_slip_wall (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
781781#ifdef _CRAYFTN
782782 !DIR$ INLINEALWAYS s_slip_wall
783783#else
@@ -876,7 +876,7 @@ contains
876876
877877 end subroutine s_slip_wall
878878
879- subroutine s_no_slip_wall (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
879+ pure subroutine s_no_slip_wall (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
880880#ifdef _CRAYFTN
881881 !DIR$ INLINEALWAYS s_no_slip_wall
882882#else
@@ -1011,7 +1011,7 @@ contains
10111011
10121012 end subroutine s_no_slip_wall
10131013
1014- subroutine s_dirichlet (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
1014+ pure subroutine s_dirichlet (q_prim_vf , pb , mv , bc_dir , bc_loc , k , l )
10151015#ifdef _CRAYFTN
10161016 !DIR$ INLINEALWAYS s_dirichlet
10171017#else
@@ -1080,7 +1080,7 @@ contains
10801080
10811081 end subroutine s_dirichlet
10821082
1083- subroutine s_qbmm_extrapolation (pb , mv , bc_dir , bc_loc , k , l )
1083+ pure subroutine s_qbmm_extrapolation (pb , mv , bc_dir , bc_loc , k , l )
10841084#ifdef _CRAYFTN
10851085 !DIR$ INLINEALWAYS s_qbmm_extrapolation
10861086#else
@@ -1156,7 +1156,7 @@ contains
11561156
11571157 end subroutine s_qbmm_extrapolation
11581158
1159- subroutine s_populate_capillary_buffers (c_divs , bc_type )
1159+ impure subroutine s_populate_capillary_buffers (c_divs , bc_type )
11601160
11611161 type(scalar_field), dimension (num_dims + 1 ), intent (inout ) :: c_divs
11621162 type(integer_field), dimension (1 :num_dims, - 1 :1 ), intent (in ) :: bc_type
@@ -1279,7 +1279,7 @@ contains
12791279 end if
12801280 end subroutine s_populate_capillary_buffers
12811281
1282- subroutine s_color_function_periodic (c_divs , bc_dir , bc_loc , k , l )
1282+ pure subroutine s_color_function_periodic (c_divs , bc_dir , bc_loc , k , l )
12831283#ifdef _CRAYFTN
12841284 !DIR$ INLINEALWAYS s_color_function_periodic
12851285#else
@@ -1337,7 +1337,7 @@ contains
13371337
13381338 end subroutine s_color_function_periodic
13391339
1340- subroutine s_color_function_reflective (c_divs , bc_dir , bc_loc , k , l )
1340+ pure subroutine s_color_function_reflective (c_divs , bc_dir , bc_loc , k , l )
13411341#ifdef _CRAYFTN
13421342 !DIR$ INLINEALWAYS s_color_function_reflective
13431343#else
@@ -1419,7 +1419,7 @@ contains
14191419
14201420 end subroutine s_color_function_reflective
14211421
1422- subroutine s_color_function_ghost_cell_extrapolation (c_divs , bc_dir , bc_loc , k , l )
1422+ pure subroutine s_color_function_ghost_cell_extrapolation (c_divs , bc_dir , bc_loc , k , l )
14231423#ifdef _CRAYFTN
14241424 !DIR$ INLINEALWAYS s_color_function_ghost_cell_extrapolation
14251425#else
@@ -1477,7 +1477,7 @@ contains
14771477
14781478 end subroutine s_color_function_ghost_cell_extrapolation
14791479
1480- subroutine s_create_mpi_types (bc_type )
1480+ impure subroutine s_create_mpi_types (bc_type )
14811481
14821482 type(integer_field), dimension (1 :num_dims, - 1 :1 ) :: bc_type
14831483
@@ -1510,7 +1510,7 @@ contains
15101510#endif
15111511 end subroutine s_create_mpi_types
15121512
1513- subroutine s_finalize_boundary_common_module ()
1513+ impure subroutine s_finalize_boundary_common_module ()
15141514
15151515#ifndef MFC_POST_PROCESS
15161516 if (bc_io) then
0 commit comments