mp_get_file_handle Function

private elemental function mp_get_file_handle(file)

Type Bound

mp_file_type

Arguments

Type IntentOptional Attributes Name
class(mp_file_type), intent(in) :: file

Return Value integer


Source Code

      ELEMENTAL INTEGER FUNCTION mp_get_file_handle(file)
         CLASS(mp_file_type), INTENT(IN) :: file

#if defined(__parallel) && defined(__USE_MPI_F08)
         mp_get_file_handle = file%handle%mpi_val
#else
         mp_get_file_handle = file%handle
#endif

      END FUNCTION mp_get_file_handle