2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
26#include "logging/SimLogger.h"
37 CsvLogger(clockwerk::
Executive &exec,
const std::string &filename=
"output.csv",
unsigned int buffer_size=1);
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 CSV.
Definition CsvLogger.h:34
int _createSetupFile()
Function to create a CSV file for logging.
Definition CsvLogger.cpp:87
int _precision
The precision of logging. Default is 20 places.
Definition CsvLogger.h:71
int _writeToFile()
Function to write buffered data to CSV file.
Definition CsvLogger.cpp:130
CsvLogger(clockwerk::Executive &exec, const std::string &filename="output.csv", unsigned int buffer_size=1)
Constructor for CSV logger – wraps around logger constructor.
Definition CsvLogger.cpp:25
std::string _delimeter
String to indicate delimeter – set to comma by default.
Definition CsvLogger.h:68
int setPrecision(int precision)
Function to set the precision of CSV logging.
Definition CsvLogger.cpp:78
int delimeter(const std::string &delim)
Function to set the delimeter.
Definition CsvLogger.cpp:69
int close()
Function to close down the file – logs remaining buffered data and closes.
Definition CsvLogger.cpp:180
std::ofstream _fout
Stream variable to write file to.
Definition CsvLogger.h:65
int filename(std::string name)
Function to set CSV logger filename.
Definition CsvLogger.cpp:46
Class to propagate CR3BP dynamics in characteristic units.
Definition ConfigurationWriter.cpp:18