@@ -22,7 +22,6 @@ 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
2625
2726 !> This variable is utilized to pack and send the buffer of the cell- average primitive variables, for a single computational
2827 !! domain boundary at the time, to the relevant neighboring processor.
@@ -99,6 +98,7 @@ contains
9998
10099 end subroutine s_mpi_initialize
101100
101+ !> Set up MPI I/ O data views and variable pointers for parallel file output.
102102 impure subroutine s_initialize_mpi_data (q_cons_vf , ib_markers , beta )
103103
104104 type(scalar_field), dimension (sys_size), intent (in ) :: q_cons_vf
@@ -180,6 +180,7 @@ contains
180180
181181 end subroutine s_initialize_mpi_data
182182
183+ !> Set up MPI I/ O data views for downsampled (coarsened) parallel file output.
183184 subroutine s_initialize_mpi_data_ds (q_cons_vf )
184185
185186 type(scalar_field), dimension (sys_size), intent (in ) :: q_cons_vf
@@ -401,9 +402,7 @@ contains
401402
402403 end subroutine s_mpi_allreduce_max
403404
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.
405+ !> Reduce a local real value to its global minimum across all ranks
407406 impure subroutine s_mpi_reduce_min (var_loc )
408407
409408 real (wp), intent (inout ) :: var_loc
@@ -422,9 +421,7 @@ contains
422421 end subroutine s_mpi_reduce_min
423422
424423 !> 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.
424+ !> Reduce a local value to its global maximum with location (rank) across all ranks
428425 impure subroutine s_mpi_reduce_maxloc (var_loc )
429426
430427 real (wp), dimension (2 ), intent (inout ) :: var_loc
0 commit comments