I/O for nrgcore#

template<typename nrgcore_type>
class NrgData

This class provides a way to save the nrgcore internal data from the NRG calculation into a HDF5 file. The data is saved in a file and can be read back into the NRG calculation. This is useful for back-ward iteration of the of the nrg-iterations. Everything needed for NRG iteration can accessed from this this file. This class also provides functionality to read and write qOperator.

Template Parameters:

nrgcore_type – Type of the nrgcore object.

Param tfilename:

File name of the HDF5 file to save the data. If this is empty, a random file name is generated starting with the name tempfile.