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)
# 553 "/__w/dbcsr/dbcsr/src/mpi/dbcsr_mpiwrap.F"
         CLASS(mp_win_type), INTENT(IN) :: win
# 554 "/__w/dbcsr/dbcsr/src/mpi/dbcsr_mpiwrap.F"

#if defined(__parallel) && defined(__USE_MPI_F08)
         mp_get_win_handle = win%handle%mpi_val
# 557 "/__w/dbcsr/dbcsr/src/mpi/dbcsr_mpiwrap.F"
#else
         mp_get_win_handle = win%handle
# 559 "/__w/dbcsr/dbcsr/src/mpi/dbcsr_mpiwrap.F"
#endif

      END FUNCTION mp_get_win_handle