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

execute the mcmc algorithm and write data to file after each Monte Carlo cycles. 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 cycles.

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

Definition in file pd_estimate.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

The main function.

Definition at line 34 of file pd_estimate.cpp.

◆ usage()

void usage ( std::string  filename)

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

Definition at line 22 of file pd_estimate.cpp.