INTEGER(HID_T) FUNCTION h5kind_to_type(kind, flag) RESULT(h5_type)
INTEGER, INTENT(IN) :: kind
INTEGER, INTENT(IN) :: flag
Inputs:
kind - Fortran KIND parameter
flag - Whether KIND is of type INTEGER or REAL:
H5_INTEGER_KIND - integer
H5_REAL_KIND - real
Outputs:
h5_type - Returns the type