NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ write_to_hdf5() [3/3]

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

Stores herm_matrix to a given file in HDF5 format.


Stores the herm_matrix, including the matrix size, number of points on real and imaginary axis and fermionic/bosonic character, to a given HDF5 file with given groupname.


[char*] The name of the file to which the herm_matrix is stored.


[char*] The name of the HDF5 group.

Definition at line 1644 of file cntr_herm_matrix_impl.hpp.

1645  {
1646  hid_t file_id = open_hdf5_file(filename);
1647  this->write_to_hdf5(file_id, groupname);
1648  close_hdf5_file(file_id);
1649 }
void write_to_hdf5(hid_t group_id)
Stores herm_matrix to a given group in HDF5 format.