mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r27383] removed unused functions
This commit is contained in:
parent
6ed616cd99
commit
a3de9abcbf
@ -1308,7 +1308,6 @@ CONTAINS
|
||||
|
||||
END SUBROUTINE h5dwrite_reference_dsetreg
|
||||
|
||||
|
||||
SUBROUTINE h5dwrite_integer_scalar(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
@ -1853,263 +1852,6 @@ CONTAINS
|
||||
|
||||
END SUBROUTINE h5dwrite_char_7
|
||||
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_scalar(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), TARGET :: buf ! Data buffer
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf)
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_scalar
|
||||
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_1(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_1
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_2(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1),dims(2)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1,1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_2
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_3(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1),dims(2),dims(3)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1,1,1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_3
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_4(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1),dims(2),dims(3),dims(4)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1,1,1,1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_4
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_5(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1),dims(2),dims(3),dims(4),dims(5)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1,1,1,1,1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_5
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_6(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1,1,1,1,1,1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_6
|
||||
|
||||
SUBROUTINE h5dwrite_c_float_7(dset_id, mem_type_id, buf, dims, hdferr, &
|
||||
mem_space_id, file_space_id, xfer_prp)
|
||||
USE, INTRINSIC :: ISO_C_BINDING
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
|
||||
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims
|
||||
REAL(KIND=C_FLOAT), INTENT(IN), &
|
||||
DIMENSION(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6),dims(7)), TARGET :: buf
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id ! Memory dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: file_space_id ! File dataspace identfier
|
||||
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: xfer_prp ! Transfer property list identifier
|
||||
INTEGER(HID_T) :: xfer_prp_default
|
||||
INTEGER(HID_T) :: mem_space_id_default
|
||||
INTEGER(HID_T) :: file_space_id_default
|
||||
TYPE(C_PTR) :: f_ptr
|
||||
|
||||
xfer_prp_default = H5P_DEFAULT_F
|
||||
mem_space_id_default = H5S_ALL_F
|
||||
file_space_id_default = H5S_ALL_F
|
||||
|
||||
IF(PRESENT(xfer_prp)) xfer_prp_default = xfer_prp
|
||||
IF(PRESENT(mem_space_id)) mem_space_id_default = mem_space_id
|
||||
IF(PRESENT(file_space_id)) file_space_id_default = file_space_id
|
||||
f_ptr = C_LOC(buf(1,1,1,1,1,1,1))
|
||||
|
||||
hdferr = h5dwrite_f_c(dset_id, mem_type_id, mem_space_id_default, &
|
||||
file_space_id_default, xfer_prp_default, f_ptr)
|
||||
|
||||
END SUBROUTINE h5dwrite_c_float_7
|
||||
|
||||
!
|
||||
! NAME
|
||||
! h5dread_f
|
||||
|
Loading…
Reference in New Issue
Block a user