@@ -215,7 +215,7 @@ contains
215215 subroutine s_ghost_cell_extrapolation (q_prim_vf , pb , mv , bc_dir , bc_loc )
216216
217217 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
218- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
218+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
219219 integer , intent (in ) :: bc_dir, bc_loc
220220 integer :: j, k, l, q, i
221221
@@ -325,7 +325,7 @@ contains
325325 subroutine s_symmetry (q_prim_vf , pb , mv , bc_dir , bc_loc )
326326
327327 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
328- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
328+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
329329 integer , intent (in ) :: bc_dir, bc_loc
330330
331331 integer :: j, k, l, q, i
@@ -638,7 +638,7 @@ contains
638638 subroutine s_periodic (q_prim_vf , pb , mv , bc_dir , bc_loc )
639639
640640 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
641- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
641+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
642642 integer , intent (in ) :: bc_dir, bc_loc
643643
644644 integer :: j, k, l, q, i
@@ -857,7 +857,7 @@ contains
857857 subroutine s_axis (q_prim_vf , pb , mv , bc_dir , bc_loc )
858858
859859 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
860- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
860+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
861861 integer , intent (in ) :: bc_dir, bc_loc
862862
863863 integer :: j, k, l, q, i
@@ -930,7 +930,7 @@ contains
930930 subroutine s_slip_wall (q_prim_vf , pb , mv , bc_dir , bc_loc )
931931
932932 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
933- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
933+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
934934 integer , intent (in ) :: bc_dir, bc_loc
935935
936936 integer :: j, k, l, q, i
@@ -1071,7 +1071,7 @@ contains
10711071 subroutine s_no_slip_wall (q_prim_vf , pb , mv , bc_dir , bc_loc )
10721072
10731073 type(scalar_field), dimension (sys_size), intent (inout ) :: q_prim_vf
1074- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
1074+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
10751075 integer , intent (in ) :: bc_dir, bc_loc
10761076
10771077 integer :: j, k, l, q, i
@@ -1247,7 +1247,7 @@ contains
12471247
12481248 subroutine s_qbmm_extrapolation (pb , mv , bc_dir , bc_loc )
12491249
1250- real (wp), dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
1250+ real (wp), optional, dimension (idwbuff(1 )%beg:, idwbuff(2 )%beg:, idwbuff(3 )%beg:, 1 :, 1 :), intent (inout ) :: pb, mv
12511251 integer , intent (in ) :: bc_dir, bc_loc
12521252
12531253 integer :: j, k, l, q, i
0 commit comments