mp_win_op_eq Function

private impure elemental function mp_win_op_eq(win1, win2)

Type Bound

mp_win_type

Arguments

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

Return Value logical


Source Code

      ELEMENTAL IMPURE LOGICAL FUNCTION mp_win_op_eq(win1, win2)
         CLASS(mp_win_type), INTENT(IN) :: win1, win2

#if defined(__parallel) && defined(__USE_MPI_F08)
         mp_win_op_eq = (win1%handle%mpi_val .EQ. win2%handle%mpi_val)
#else
         mp_win_op_eq = (win1%handle .EQ. win2%handle)
#endif

      END FUNCTION mp_win_op_eq