NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ write_to_hdf5_slices() [3/3]

template<typename T >
void cntr::herm_matrix< T >::write_to_hdf5_slices ( const char *  filename,
const char *  groupname,
int  dt 
)

Stores time slices of herm_matrix with a given interval to a HDF5 file under a given and group name.

Purpose

Converts the herm_matrix every dt time steps to a time slice and stores them to the given HDF5 file under a given group name.

Parameters
filename

The HDF5 output file.

groupname

The name of the HDF5 group.

dt

Store the slices every dt time steps.

Definition at line 1914 of file cntr_herm_matrix_impl.hpp.

1915  {
1916  hid_t file_id = open_hdf5_file(filename);
1917  this->write_to_hdf5_slices(file_id, groupname, dt);
1918  close_hdf5_file(file_id);
1919 }
void write_to_hdf5_slices(hid_t group_id, int dt)
Stores time slices of herm_matrix with a given interval to a HDF5 group handle. ...