49 explicit operator std::string()
const override;
57 std::pair<std::array<double, 3>, std::array<double, 3>>
box;
Class to run a simulation.
VelocityProfileInterceptor(std::pair< std::array< double, 3 >, std::array< double, 3 >> box, size_t num_bins, size_t sample_every_x_percent)
Construct a new Thermostat Interceptor object.
std::unique_ptr< CSVWriter > csv_writer_x
std::array< double, 3 > bin_width
std::unique_ptr< CSVWriter > csv_writer_y
std::pair< std::array< double, 3 >, std::array< double, 3 > > box
void logSummary(int depth) const override
Logs the summary of the radial distribution function.
size_t sample_every_x_percent
std::unique_ptr< CSVWriter > csv_writer_z
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...
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.
void onSimulationStart(Simulation &simulation) override
This function is sets the particle_updates to 0 and initializes the start time of the simulation.