NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ read_from_hdf5() [6/6]

template<typename T >
void cntr::herm_matrix< T >::read_from_hdf5 ( int  nt1,
const char *  filename,
const char *  groupname 

Reads the herm_matrix up to a given number of time steps from an HDF5 file.


Reads the herm_matrix, including the matrix size, number of points on real and imaginary axis and fermionic/bosonic character, from a given HDF5 file and group name. The herm_matrix is read up to a given number of time steps nt1.


Read up to this time step.


The name of the HDF5 file.


The HDF5 group name.

Definition at line 1827 of file cntr_herm_matrix_impl.hpp.

1828  {
1829  hid_t file_id = read_hdf5_file(filename);
1830  this->read_from_hdf5(nt1, file_id, groupname);
1831  close_hdf5_file(file_id);
1832 }
void read_from_hdf5(hid_t group_id)
Reads herm_matrix from a given HDF5 group handle.