@@ -257,67 +257,75 @@ module subroutine lt7read(filename, dname, A)
257257
258258interface ! < writer.f90
259259
260- module subroutine h5write_scalar (self , dname , A , compact )
260+ module subroutine h5write_scalar (self , dname , A , compact , datatype )
261261class(hdf5_file), intent (in ) :: self
262262character (* ), intent (in ) :: dname
263263class(* ), intent (in ) :: A
264264logical , intent (in ), optional :: compact
265+ integer (HID_T), intent (in ), optional :: datatype
265266end subroutine
266267
267- module subroutine h5write_1d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
268+ module subroutine h5write_1d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
268269class(hdf5_file), intent (in ) :: self
269270character (* ), intent (in ) :: dname
270271class(* ), intent (in ), dimension (:) :: A
271272integer , intent (in ), dimension (1 ), optional :: chunk_size, istart, iend, stride, dset_dims
272273logical , intent (in ), optional :: compact
274+ integer (HID_T), intent (in ), optional :: datatype
273275end subroutine
274276
275- module subroutine h5write_2d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
277+ module subroutine h5write_2d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
276278class(hdf5_file), intent (in ) :: self
277279character (* ), intent (in ) :: dname
278280class(* ), intent (in ), dimension (:,:) :: A
279281integer , intent (in ), dimension (2 ), optional :: chunk_size, istart, iend, stride, dset_dims
280282logical , intent (in ), optional :: compact
283+ integer (HID_T), intent (in ), optional :: datatype
281284end subroutine
282285
283- module subroutine h5write_3d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
286+ module subroutine h5write_3d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
284287class(hdf5_file), intent (in ) :: self
285288character (* ), intent (in ) :: dname
286289class(* ), intent (in ), dimension (:,:,:) :: A
287290integer , intent (in ), dimension (3 ), optional :: chunk_size, istart, iend, stride, dset_dims
288291logical , intent (in ), optional :: compact
292+ integer (HID_T), intent (in ), optional :: datatype
289293end subroutine
290294
291- module subroutine h5write_4d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
295+ module subroutine h5write_4d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
292296class(hdf5_file), intent (in ) :: self
293297character (* ), intent (in ) :: dname
294298class(* ), intent (in ), dimension (:,:,:,:) :: A
295299integer , intent (in ), dimension (4 ), optional :: chunk_size, istart, iend, stride, dset_dims
296300logical , intent (in ), optional :: compact
301+ integer (HID_T), intent (in ), optional :: datatype
297302end subroutine
298303
299- module subroutine h5write_5d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
304+ module subroutine h5write_5d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
300305class(hdf5_file), intent (in ) :: self
301306character (* ), intent (in ) :: dname
302307class(* ), intent (in ), dimension (:,:,:,:,:) :: A
303308integer , intent (in ), dimension (5 ), optional :: chunk_size, istart, iend, stride, dset_dims
304309logical , intent (in ), optional :: compact
310+ integer (HID_T), intent (in ), optional :: datatype
305311end subroutine
306312
307- module subroutine h5write_6d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
313+ module subroutine h5write_6d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
308314class(hdf5_file), intent (in ) :: self
309315character (* ), intent (in ) :: dname
310316class(* ), intent (in ), dimension (:,:,:,:,:,:) :: A
311317integer , intent (in ), dimension (6 ), optional :: chunk_size, istart, iend, stride, dset_dims
312318logical , intent (in ), optional :: compact
319+ integer (HID_T), intent (in ), optional :: datatype
313320end subroutine
314321
315- module subroutine h5write_7d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims )
322+ module subroutine h5write_7d (self , dname , A , chunk_size , istart , iend , stride , compact , dset_dims , datatype )
316323class(hdf5_file), intent (in ) :: self
317324character (* ), intent (in ) :: dname
318325class(* ), intent (in ), dimension (:,:,:,:,:,:,:) :: A
319326integer , intent (in ), dimension (7 ), optional :: chunk_size, istart, iend, stride, dset_dims
320327logical , intent (in ), optional :: compact
328+ integer (HID_T), intent (in ), optional :: datatype
321329end subroutine
322330
323331end interface
0 commit comments