6 int main(
int argc,
char* argsv[]) {
18 Simulation simulation{initial_particles, params};
23 auto overview = simulation.runSimulation();
26 overview.logSummary();
29 overview.savePerformanceDataCSV();
CLIParams parse_arguments(int argc, char *argsv[])
Parses the command line arguments.
SimulationParams merge_parameters(const CLIParams ¶ms_cli, const std::optional< SimulationParams > &file_params)
Merges the simulation parameters retrieved via the command line with the ones from the XML file....
int main(int argc, char *argsv[])
Contains all parameters needed to run a simulation.
size_t num_particles
Number of particles in the simulation.
void logSummary(int depth=0) const
Prints a summary of the simulation parameters to the console.
Class to run a simulation.
std::filesystem::path input_file_path