Molecular Dynamics Simulation  1.0
SimulationOverview.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <chrono>
4 #include <cstddef>
5 
7 
8 class SimulationParams;
9 
14  public:
19 
24 
29 
33  std::vector<std::string> interceptor_summaries;
34 
38  std::vector<Particle> resulting_particles;
39 
44  void logSummary(int depth = 0) const;
45 
49  void savePerformanceDataCSV() const;
50 
55  void savePerformanceDataCSV(const std::string& filename_prefix) const;
56 };
Class to store some overview data of an executed simulation.
std::vector< std::string > interceptor_summaries
Summary of the interceptors that were used during the simulation.
double total_time_seconds
Total time the simulation took to execute in seconds (includes time for writing output files and logg...
void savePerformanceDataCSV() const
Saves the simulation overview to a csv file.
void logSummary(int depth=0) const
Prints a summary of the simulation overview to the logger.
std::vector< Particle > resulting_particles
Resulting particles after the simulation.
size_t total_iterations
Total number of iterations the simulation ran for (includes an initial force calculation)
const SimulationParams & params
Original simulation parameters bevore the simulation.
Contains all parameters needed to run a simulation.