NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ write_to_hdf5() [2/3]

template<typename T >
void cntr::function< T >::write_to_hdf5 ( hid_t  group_id,
const char *  groupname 
) const

Write the function data to a hdf5 file

Purpose

Write the function data to a hdf5 file. Four parameters: nt, size1, size2 and element_size are stored. data array is stored as complex numbers. The data is stored under a specified group name.

Parameters
group_id

the group_id of the hdf5 data

groupname

the specified (sub)group name of stored function

Definition at line 876 of file cntr_function_impl.hpp.

876  {
877  hid_t sub_group_id = create_group(group_id, groupname);
878  this->write_to_hdf5(sub_group_id);
879  close_group(sub_group_id);
880 }
void write_to_hdf5(hid_t group_id) const
Write the function data to a hdf5 file