NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ read_from_hdf5() [3/6]

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

Reads herm_matrix from a given HDF5 file and given group name.

Purpose

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 with given group name.

Parameters
filename

The name of the HDF5 file.

groupname

The group name from which the herm_matrix is read,

Definition at line 1735 of file cntr_herm_matrix_impl.hpp.

1736  {
1737  hid_t file_id = read_hdf5_file(filename);
1738  this->read_from_hdf5(file_id, groupname);
1739  close_hdf5_file(file_id);
1740 }
void read_from_hdf5(hid_t group_id)
Reads herm_matrix from a given HDF5 group handle.