2 Dimensional Ising Model
Simulate the change in energy and magnetization in a ferro magnet
Loading...
Searching...
No Matches
mcmc_progression.cpp File Reference

Execute the mcmc algorithm and write data to file after each Monte Carlo cycle. More...

#include "data_type.hpp"
#include "monte_carlo.hpp"
#include "utils.hpp"
#include <getopt.h>
#include <omp.h>
#include <string>

Go to the source code of this file.

Functions

void usage (std::string filename)
 A function that displays how to use the program and quits.
 
int main (int argc, char **argv)
 The main function.
 

Detailed Description

Execute the mcmc algorithm and write data to file after each Monte Carlo cycle.

Author
Cory Alexander Balaton (coryab)
Janita Ovidie Sandtrøen Willumsen (janitaws)
Version
1.0
Bug:
No known bugs

Definition in file mcmc_progression.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

The main function.

Definition at line 32 of file mcmc_progression.cpp.

◆ usage()

void usage ( std::string  filename)

A function that displays how to use the program and quits.

Definition at line 22 of file mcmc_progression.cpp.