31 unsigned long long int N_total_steps;
32 unsigned long long int N_thermalization_steps;
33 unsigned long long int update_choice_seed;
34 unsigned long long int diagram_seed;
73 unsigned long long int N_total_steps,
74 unsigned long long int N_thermalization_steps,
75 unsigned long long int update_choice_seed,
76 unsigned long long int diagram_seed
126 unsigned long long int N_total_steps,
127 unsigned long long int N_thermalization_steps,
128 unsigned long long int update_choice_seed = std::chrono::system_clock::now().time_since_epoch().count(),
129 unsigned long long int diagram_seed = std::chrono::system_clock::now().time_since_epoch().count()
Container class to store all the simulation parameters, and the results of a run. It provides methods...
unsigned long long int N_measures
Number of samples (iterations) for which the magnetizations and diagram order statstics were collecte...
unsigned long long int N_attempted_removesegment
Number of times the REMOVE_SEGMENT update was attempted.
unsigned long long int avg_diagram_order
Average diagram order during the whole run.
unsigned long long int max_diagram_order
Maximum diagram order during the whole run.
unsigned long long int run_time
Execution time (in nanoseconds) for the Markov Chain loop (not the program run time)
static std::string ostream_output_header()
Returns a line containing the titles of the columns of the output file.
void print_results() const
Prints a summary of the result of the run on the terminal standard output.
double measured_sigmax
Final value of the magnetization along x calculated through the MCMC algorithm.
unsigned long long int N_attempted_flips
Number of times the SPIN_FLIP update was attempted.
unsigned long long int N_accepted_addsegment
Number of times the ADD_SEGMENT update was accepted.
unsigned long long int N_accepted_removesegment
Number of times the REMOVE_SEGMENT update was accepted.
unsigned long long int N_accepted_flips
Number of times the SPIN_FLIP update was accepted.
SingleRunResults(double beta, double initial_s0, double H, double GAMMA, unsigned long long int N_total_steps, unsigned long long int N_thermalization_steps, unsigned long long int update_choice_seed, unsigned long long int diagram_seed)
Construct a new Single_Run_Results object, initializing the parameters of the simulation with the arg...
friend std::ostream & operator<<(std::ostream &os, const SingleRunResults &results)
Output stream operator to write a single formatted line with all the parameters and results of the si...
double measured_sigmaz
Final value of the magnetization along z calculated through the MCMC algorithm.
unsigned long long int N_attempted_addsegment
Number of times the ADD_SEGMENT update was attempted.
Header file for Diagram and Diagram_core classes.
SingleRunResults run_simulation(double beta, double initial_s0, double H, double GAMMA, unsigned long long int N_total_steps, unsigned long long int N_thermalization_steps, unsigned long long int update_choice_seed=std::chrono::system_clock::now().time_since_epoch().count(), unsigned long long int diagram_seed=std::chrono::system_clock::now().time_since_epoch().count())
Runs the Markov Chain Diagrammatic Monte Carlo algorithm for the 2-level spin sistem,...