Molecular Dynamics Simulation
1.0
|
Class to store some overview data of an executed simulation. More...
#include <SimulationOverview.h>
Public Member Functions | |
void | logSummary (int depth=0) const |
Prints a summary of the simulation overview to the logger. More... | |
void | savePerformanceDataCSV () const |
Saves the simulation overview to a csv file. More... | |
void | savePerformanceDataCSV (const std::string &filename_prefix) const |
Saves the simulation overview to a csv file. More... | |
Public Attributes | |
const SimulationParams & | params |
Original simulation parameters bevore the simulation. More... | |
double | total_time_seconds |
Total time the simulation took to execute in seconds (includes time for writing output files and logging) More... | |
size_t | total_iterations |
Total number of iterations the simulation ran for (includes an initial force calculation) More... | |
std::vector< std::string > | interceptor_summaries |
Summary of the interceptors that were used during the simulation. More... | |
std::vector< Particle > | resulting_particles |
Resulting particles after the simulation. More... | |
Class to store some overview data of an executed simulation.
Definition at line 13 of file SimulationOverview.h.
void SimulationOverview::logSummary | ( | int | depth = 0 | ) | const |
Prints a summary of the simulation overview to the logger.
depth | determines the indentation of the log message |
Definition at line 15 of file SimulationOverview.cpp.
void SimulationOverview::savePerformanceDataCSV | ( | ) | const |
Saves the simulation overview to a csv file.
Definition at line 38 of file SimulationOverview.cpp.
void SimulationOverview::savePerformanceDataCSV | ( | const std::string & | filename_prefix | ) | const |
Saves the simulation overview to a csv file.
filename_prefix | Prefix for the outputted filename (<prefix>performance_data<timestamp>.csv) |
Definition at line 40 of file SimulationOverview.cpp.
std::vector<std::string> SimulationOverview::interceptor_summaries |
Summary of the interceptors that were used during the simulation.
Definition at line 33 of file SimulationOverview.h.
const SimulationParams& SimulationOverview::params |
Original simulation parameters bevore the simulation.
Definition at line 18 of file SimulationOverview.h.
std::vector<Particle> SimulationOverview::resulting_particles |
Resulting particles after the simulation.
Definition at line 38 of file SimulationOverview.h.
size_t SimulationOverview::total_iterations |
Total number of iterations the simulation ran for (includes an initial force calculation)
Definition at line 28 of file SimulationOverview.h.
double SimulationOverview::total_time_seconds |
Total time the simulation took to execute in seconds (includes time for writing output files and logging)
Definition at line 23 of file SimulationOverview.h.