NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ read_from_hdf5() [5/6]

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

group_id

the group id of the hdf5 data

groupname

the specified group in which the function data is stored

Definition at line 1037 of file cntr_function_impl.hpp.

1038  {
1039  hid_t sub_group_id = open_group(group_id, groupname);
1040  this->read_from_hdf5(nt1, sub_group_id);
1041  close_group(sub_group_id);
1042 }
void read_from_hdf5(hid_t group_id)
Read the function data from a hdf5 file