NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ read_from_hdf5() [3/6]

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

Read the function data from a hdf5 file

Purpose

Read the function data from a hdf5 file. The file is probably written by write_to_hdf5 method, or is assumed to have the same format.

Parameters
filename

the name of the file in which the function is stored

groupname

the specified (sub)group name of stored function

Definition at line 980 of file cntr_function_impl.hpp.

981  {
982  hid_t file_id = read_hdf5_file(filename);
983  this->read_from_hdf5(file_id, groupname);
984  close_hdf5_file(file_id);
985 }
void read_from_hdf5(hid_t group_id)
Read the function data from a hdf5 file