@@ -22,7 +22,7 @@ module m_mpi_common
2222
2323 integer , private :: v_size
2424 $:GPU_DECLARE(create= ' [v_size]' )
25- !! Generic flags used to identify and report MPI errors
25+ ! Generic flags used to identify and report MPI errors
2626
2727 !> This variable is utilized to pack and send the buffer of the cell- average primitive variables, for a single computational
2828 !! domain boundary at the time, to the relevant neighboring processor.
@@ -99,6 +99,7 @@ contains
9999
100100 end subroutine s_mpi_initialize
101101
102+ !> Set up MPI I/ O data views and variable pointers for parallel file output.
102103 impure subroutine s_initialize_mpi_data (q_cons_vf , ib_markers , beta )
103104
104105 type(scalar_field), dimension (sys_size), intent (in ) :: q_cons_vf
@@ -180,6 +181,7 @@ contains
180181
181182 end subroutine s_initialize_mpi_data
182183
184+ !> Set up MPI I/ O data views for downsampled (coarsened) parallel file output.
183185 subroutine s_initialize_mpi_data_ds (q_cons_vf )
184186
185187 type(scalar_field), dimension (sys_size), intent (in ) :: q_cons_vf
@@ -401,9 +403,7 @@ contains
401403
402404 end subroutine s_mpi_allreduce_max
403405
404- !> Reduce a local real value to its global minimum and broadcast the result to all ranks.
405- ! ! @param var_loc holds the local value to be reduced among all the processors in communicator. On output, the variable holds
406- ! the minimum value, reduced amongst all of the local values.
406+ !> Reduce a local real value to its global minimum across all ranks
407407 impure subroutine s_mpi_reduce_min (var_loc )
408408
409409 real (wp), intent (inout ) :: var_loc
@@ -422,9 +422,7 @@ contains
422422 end subroutine s_mpi_reduce_min
423423
424424 !> Reduce a 2 - element variable to its global maximum value with the owning processor rank (MPI_MAXLOC).
425- ! ! @param var_loc On input, this variable holds the local value and processor rank, which are to be reduced among all the
426- ! processors in communicator. On output, this variable holds the maximum value, reduced amongst all of the local values, and the
427- ! process rank to which the value belongs.
425+ !> Reduce a local value to its global maximum with location (rank) across all ranks
428426 impure subroutine s_mpi_reduce_maxloc (var_loc )
429427
430428 real (wp), dimension (2 ), intent (inout ) :: var_loc
0 commit comments