qeh5_base_module Module


Uses


Variables

Type Visibility Attributes Name Initial
integer(kind=HID_T), public :: H5_REALDP_TYPE

Interfaces

public interface qeh5_set_space

  • private subroutine qeh5_wplan_real(h5_dataset, real_data, rank, dimensions, mode)

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_dataset), intent(inout) :: h5_dataset
    real(kind=DP), intent(in) :: real_data
    integer, intent(in) :: rank
    integer, intent(in) :: dimensions(rank)
    character(len=1), intent(in), optional :: mode
  • private subroutine qeh5_wplan_complex(h5_dataset, complex_data, rank, dimensions, mode)

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_dataset), intent(inout) :: h5_dataset
    complex(kind=DP), intent(in) :: complex_data
    integer, intent(in) :: rank
    integer, intent(in) :: dimensions(rank)
    character(len=1), intent(in), optional :: mode
  • private subroutine qeh5_wplan_integer(h5_dataset, integer_data, rank, dimensions, mode)

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_dataset), intent(inout) :: h5_dataset
    integer, intent(in), TARGET :: integer_data
    integer, intent(in) :: rank
    integer, intent(in) :: dimensions(rank)
    character(len=1), intent(in), optional :: mode

public interface qeh5_write_dataset

  • private subroutine qeh5_write_real(real_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=DP), intent(inout), TARGET :: real_data(1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_real_2(real_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=DP), intent(inout), TARGET :: real_data(1,1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_real_3(real_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=DP), intent(inout), TARGET :: real_data(1,1,1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_complex(complex_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=DP), intent(in), TARGET :: complex_data(1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_complex_2(complex_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=DP), intent(inout), TARGET :: complex_data(1,1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_complex_3(complex_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=DP), intent(inout), TARGET :: complex_data(1,1,1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_integer(integer_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(inout), TARGET :: integer_data(1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_integer_2(integer_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(inout), TARGET :: integer_data(1,1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_write_integer_3(integer_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(inout), TARGET :: integer_data(1,1,1)
    type(qeh5_dataset), intent(in) :: h5_dataset

public interface qeh5_read_dataset

  • private subroutine qeh5_read_real(real_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=DP), intent(inout), TARGET :: real_data(1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_read_complex(complex_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=DP), intent(inout), TARGET :: complex_data(1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_read_integer(integer_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(inout), TARGET :: integer_data(1)
    type(qeh5_dataset), intent(in) :: h5_dataset
  • private subroutine qeh5_read_integer_2(integer_data, h5_dataset)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(inout), TARGET :: integer_data(:,:)
    type(qeh5_dataset), intent(in) :: h5_dataset

public interface qeh5_add_attribute

  • private subroutine add_attribute_i(h5_hid, name, value, rank, dims)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: name
    integer, intent(in), TARGET :: value
    integer, intent(in), optional :: rank
    integer, intent(in), optional :: dims(:)
  • private subroutine add_array_attribute_i(h5_hid, name, value, rank, dims)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: name
    integer, intent(in), TARGET :: value(:)
    integer, intent(in) :: rank
    integer, intent(in) :: dims(:)
  • private subroutine add_attribute_r(h5_hid, name, value, rank, dims)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: name
    real(kind=8), intent(in), TARGET :: value
    integer, intent(in), optional :: rank
    integer, intent(in), optional :: dims(:)
  • private subroutine add_array_attribute_r(h5_hid, name, value, rank, dims)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: name
    real(kind=8), intent(in), TARGET :: value(:)
    integer, intent(in) :: rank
    integer, intent(in) :: dims(:)
  • private subroutine add_attribute_string(h5_hid, name, text)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*) :: name
    character(len=*), target :: text

public interface qeh5_read_attribute

  • private subroutine read_real_attribute(h5_hid, attribute, value, rank, dimensions)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: attribute
    real(kind=8), intent(out), TARGET :: value
    integer, intent(in), optional :: rank
    integer, intent(in), optional :: dimensions(:)
  • private subroutine read_real_array_attribute(h5_hid, attribute, value, rank, dimensions)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: attribute
    real(kind=8), intent(out), TARGET :: value(:)
    integer, intent(in) :: rank
    integer, intent(in) :: dimensions(:)
  • private subroutine read_string_attribute(h5_hid, attribute, text, maxlen)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: attribute
    character(len=*), intent(out) :: text
    integer, intent(in) :: maxlen
  • private subroutine read_integer_attribute(h5_hid, attribute, value, rank, dimensions)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: attribute
    integer, intent(out), TARGET :: value
    integer, intent(in), optional :: rank
    integer, intent(in), optional :: dimensions(:)
  • private subroutine read_integer_array_attribute(h5_hid, attribute, value, rank, dimensions)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=HID_T), intent(in) :: h5_hid
    character(len=*), intent(in) :: attribute
    integer, intent(out), TARGET :: value(:)
    integer, intent(in), TARGET :: rank
    integer, intent(in), TARGET :: dimensions(:)

public interface qeh5_to_h5id

  • private function get_dataset_hid(h5_dataset) result(hid)

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_dataset) :: h5_dataset

    Return Value integer(kind=HID_T)

  • private function get_file_hid(h5_file) result(hid)

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_file) :: h5_file

    Return Value integer(kind=HID_T)

public interface qeh5_close

  • private subroutine qeh5_closefile(h5file)

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_file), intent(inout) :: h5file
  • private subroutine close_dataset(h5_dataset)

    print '(A, " memspace closer returned ierr =" ,I4)', TRIM(h5_dataset%name) , ierr

    Arguments

    Type IntentOptional Attributes Name
    type(qeh5_dataset), intent(inout) :: h5_dataset

Derived Types

type, public ::  qeh5_hid

Components

Type Visibility Attributes Name Initial
integer(kind=HID_T), public :: id

type, public ::  qeh5_file

Components

Type Visibility Attributes Name Initial
integer(kind=HID_T), public :: id
character(len=256), public :: name

type, public ::  qeh5_datatype

Components

Type Visibility Attributes Name Initial
integer(kind=HID_T), public :: id
integer, public :: rank
integer, public, ALLOCATABLE :: dims(:)

type, public ::  qeh5_dataspace

Components

Type Visibility Attributes Name Initial
integer(kind=HID_T), public :: id
integer, public :: rank
integer(kind=HSIZE_T), public, ALLOCATABLE :: dims(:)
integer(kind=HSIZE_T), public, ALLOCATABLE :: maxdims(:)
integer(kind=HSIZE_T), public, ALLOCATABLE :: offset(:)
integer(kind=HSIZE_T), public, ALLOCATABLE :: count(:)
integer(kind=HSIZE_T), public, ALLOCATABLE :: stride(:)
integer(kind=HSIZE_T), public, ALLOCATABLE :: block(:)

type, public ::  qeh5_dataset

Components

Type Visibility Attributes Name Initial
integer(kind=HID_T), public :: id
character(len=256), public :: name
type(qeh5_datatype), public :: datatype
type(qeh5_dataspace), public :: filespace
logical, public :: memspace_ispresent = .FALSE.
type(qeh5_dataspace), public :: memspace

Subroutines

public subroutine initialize_hdf5()

Arguments

None

public subroutine finalize_hdf5()

Arguments

None

public subroutine qeh5_openfile(h5file, file, action, error)

Arguments

Type IntentOptional Attributes Name
type(qeh5_file), intent(out) :: h5file
character(len=*), intent(in) :: file
character(len=*), intent(in) :: action
integer, intent(out), optional :: error

public subroutine qeh5_open_group(h5_parent, group_name, h5_group)

Arguments

Type IntentOptional Attributes Name
type(qeh5_file), intent(in) :: h5_parent
character(len=*), intent(in) :: group_name
type(qeh5_file), intent(out) :: h5_group

public subroutine qeh5_open_dataset(h5_parent, h5_dataset, action, name, error)

Arguments

Type IntentOptional Attributes Name
type(qeh5_file), intent(in) :: h5_parent
type(qeh5_dataset), intent(inout) :: h5_dataset
character(len=*), intent(in) :: action
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: error

public subroutine qeh5_set_memory_hyperslab(dataset, offset, count, stride, block)

Arguments

Type IntentOptional Attributes Name
type(qeh5_dataset), intent(inout) :: dataset
integer, intent(in), DIMENSION(:) :: offset
integer, intent(in), DIMENSION(:) :: count
integer, intent(in), optional, DIMENSION(:) :: stride
integer, intent(in), optional, DIMENSION(:) :: block

public subroutine qeh5_set_file_hyperslab(dataset, offset, count, stride, block)

Arguments

Type IntentOptional Attributes Name
type(qeh5_dataset), intent(inout) :: dataset
integer, intent(in), DIMENSION(:) :: offset
integer, intent(in), DIMENSION(:) :: count
integer, intent(in), optional, DIMENSION(:) :: stride
integer, intent(in), optional, DIMENSION(:) :: block


📚 Documentation Pages
⏱️ Real-Time
🔗 Code API