mp_get_win_handle Function

private elemental function mp_get_win_handle(win)

Type Bound

mp_win_type

Arguments

Type IntentOptional Attributes Name
class(mp_win_type), intent(in) :: win

Return Value integer


Source Code

      ELEMENTAL INTEGER FUNCTION mp_get_win_handle(win)
         CLASS(mp_win_type), INTENT(IN) :: win

#if defined(__parallel) && defined(__USE_MPI_F08)
         mp_get_win_handle = win%handle%mpi_val
#else
         mp_get_win_handle = win%handle
#endif

      END FUNCTION mp_get_win_handle