tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_io_data Module Reference

Factory module for selecting NPZ or HDF5 structured array handlers. More...

Functions/Subroutines

subroutine, public open_iodata_handler (iodata, filename, error)
 Open an array data handler appropriate for the file extension.
 

Detailed Description

Factory module for selecting NPZ or HDF5 structured array handlers.

Function/Subroutine Documentation

◆ open_iodata_handler()

subroutine, public tblite_io_data::open_iodata_handler ( class(iodata_type), intent(out), allocatable iodata,
character(len=*), intent(in) filename,
type(error_type), intent(out), allocatable error )

Open an array data handler appropriate for the file extension.

Parameters
[in]filenameFile name used to select the storage backend
[out]iodataAllocated storage backend instance
[out]errorError handling