NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ read_from_hdf5() [2/6]

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

the group_id of the hdf5 data

groupname

the specified (sub)group name of stored function

Definition at line 955 of file cntr_function_impl.hpp.

955  {
956  hid_t sub_group_id = open_group(group_id, groupname);
957  this->read_from_hdf5(sub_group_id);
958  close_group(sub_group_id);
959 }
void read_from_hdf5(hid_t group_id)
Read the function data from a hdf5 file