50 explicit operator std::string()
const override;
void operator()(size_t iteration, Simulation &simulation) override
This function is called on every nth iteration. It counts the number of particle updates which have b...
double sample_every_x_percent
void logSummary(int depth) const override
Logs the summary of the radial distribution function.
void onSimulationStart(Simulation &simulation) override
This function is sets the particle_updates to 0 and initializes the start time of the simulation.
void onSimulationEnd(size_t iteration, Simulation &simulation) override
This function is empty as the thermostat doesnt need to do anything at the end of the simulation.
double calculateLocalDensity(size_t N, size_t bin_index) const
std::unique_ptr< CSVWriter > csv_writer
RadialDistributionFunctionInterceptor(double bin_width, double sample_every_x_percent)
Construct a new Thermostat Interceptor object.
void saveCurrentRadialDistribution(size_t iteration, Simulation &simulation)
Class to run a simulation.