NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ read_from_hdf5() [6/6]

template<typename T >
void cntr::function< T >::read_from_hdf5 ( int  nt1,
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
nt1

the number of time steps to be read

filename

the name of the file from which the function data is read

groupname

the specified group in which the function data is stored

Definition at line 1064 of file cntr_function_impl.hpp.

1065  {
1066  hid_t file_id = read_hdf5_file(filename);
1067  this->read_from_hdf5(nt1, file_id, groupname);
1068  close_hdf5_file(file_id);
1069 }
void read_from_hdf5(hid_t group_id)
Read the function data from a hdf5 file