|
2 Dimensional Ising Model
Simulate the change in energy and magnetization in a ferro magnet
|
Sweep over different temperatures and generate data. More...
#include "data_type.hpp"#include "monte_carlo.hpp"#include "utils.hpp"#include <getopt.h>#include <mpi.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. | |
Sweep over different temperatures and generate data.
This program takes in 4 arguments: the start temperature, the end temperature, the amount of temperature points to simulate, and the amount of monte carlo samples to collect, in that order.
Definition in file phase_transition_mpi.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
The main function.
Definition at line 38 of file phase_transition_mpi.cpp.
| void usage | ( | std::string | filename | ) |
A function that displays how to use the program and quits.
Definition at line 25 of file phase_transition_mpi.cpp.