2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
26#include "highfive/highfive.hpp"
27#include "logging/SimLogger.h"
38 Hdf5Logger(clockwerk::
Executive &exec,
const std::string &filename=
"output.h5",
unsigned int buffer_size=1);
53 HighFive::DataSpace* _dataspace;
54 HighFive::DataSetCreateProps _props;
55 std::vector<HighFive::DataSet> _datasets;
59 unsigned long long _l_end_idx;
Central control mechanism to run simulations and software.
Definition Executive.h:43
Class for logging data to a file.
Definition SimLogger.h:67
Class for logging to HDF5.
Definition Hdf5Logger.h:35
HighFive::File * _file
High Five variables for writing HDF5 to file.
Definition Hdf5Logger.h:52
int _writeToFile()
Function to write buffered data to HDF5 file.
Definition Hdf5Logger.cpp:143
unsigned long long _l_start_idx
Index to track where we're writing to our dataset.
Definition Hdf5Logger.h:58
Hdf5Logger(clockwerk::Executive &exec, const std::string &filename="output.h5", unsigned int buffer_size=1)
Constructor for CSV logger – wraps around logger constructor.
Definition Hdf5Logger.cpp:24
int close()
Function to close down the file – logs remaining buffered data and closes.
Definition Hdf5Logger.cpp:223
int _createSetupFile()
Function to create an HDF5 file for logging.
Definition Hdf5Logger.cpp:64
Class to propagate CR3BP dynamics in characteristic units.
Definition ConfigurationWriter.cpp:18