|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Manages the writing of distribution function data to HDF5 files. More...
#include <HDF5Writer.hpp>


Public Member Functions | |
| HDF5Writer ()=default | |
| std::string | getName () const override |
| Returns the display name of the format (e.g., "HDF5", "CSV"). | |
| std::vector< std::string > | getExtensions () const override |
| Returns a list of supported file extensions (e.g., {".h5"}, {".csv"}). | |
| void | write (const std::string &base_path, const correlation::analysis::DistributionFunctions &dists, bool) const override |
| Writes the distribution function data to file(s). | |
| Public Member Functions inherited from correlation::writers::BaseWriter | |
| BaseWriter ()=default | |
| virtual | ~BaseWriter ()=default |
| BaseWriter (const BaseWriter &)=delete | |
| BaseWriter & | operator= (const BaseWriter &)=delete |
| BaseWriter (BaseWriter &&)=delete | |
| BaseWriter & | operator= (BaseWriter &&)=delete |
Static Public Member Functions | |
| static void | writeHDF (const std::string &filename, const correlation::analysis::DistributionFunctions &dists) |
| Writes all available histograms to a single HDF5 file. | |
Manages the writing of distribution function data to HDF5 files.
This class takes a DistributionFunctions object and provides methods to write the calculated histograms to an HDF5 file.
|
default |
|
inlineoverridevirtual |
Returns a list of supported file extensions (e.g., {".h5"}, {".csv"}).
Implements correlation::writers::BaseWriter.
|
inlineoverridevirtual |
Returns the display name of the format (e.g., "HDF5", "CSV").
Implements correlation::writers::BaseWriter.
|
inlineoverridevirtual |
Writes the distribution function data to file(s).
| base_path | The base name for the output files. |
| dists | The DistributionFunctions object containing the data. |
| smoothing | Whether to include smoothed data. |
Implements correlation::writers::BaseWriter.

|
static |
Writes all available histograms to a single HDF5 file.
| filename | The full path of the HDF5 file to write. |
| dists | The DistributionFunctions object containing the data. |

