structuredmesh.f90 --> read_group does not get entityType
Created by: GoogleCodeExporter
What steps will reproduce the problem?
1. Using fortran routines to read an structured mesh.
What is the expected output? What do you see instead?
It is expected to get the entityType attribute, but there are no operations to
read it.
What version of the product are you using? On what operating system?
Windows 7 (x64)
! Reads a structured group
subroutine read_group(file_id, path, group)
integer(hid_t), intent(in) :: file_id
character(len=*), intent(in) :: path
type(group_t), intent(inout) :: group
integer(hsize_t), dimension(2) :: dims
integer :: type_class
integer(size_t) :: type_size
! Name setting
group%name = ""
group%name = trim(path)
! type attribute
group%type = ""
call h5ltget_attribute_string_f(file_id, path, "type", &
group%type, hdferr)
call check(MSIG//"Can't read attribute : "//path//"@"//"type")
call h5ltget_dataset_info_f(file_id, path, dims, type_class, &
type_size, hdferr)
call check(MSIG//"Can't read info for : "//path)
! values
allocate(group%elements(dims(1), dims(2)))
call h5ltread_dataset_int_f(file_id, path, group%elements, &
dims, hdferr)
call check(MSIG//"Can't read values for : "//path)
end subroutine read_group
Original issue reported on code.google.com by LMDiazAn...@gmail.com
on 28 Jun 2010 at 10:39