Originally Created 3/12/2022 Zhaoyi Li
Hamiltonian: The Hamiltonian is given by
In this case, the thermodynamic variablesare given by:
Here
Metropolis algorithm:
This program accepts command-line arguments, which can be used to customize its behavior. The available options for each subprogram are listed in the following table, along with any options that are not available. Hover your mouse over to see more details.
Option | Description | Type | Default Value |
---|---|---|---|
-f, --fname | Output filename, the default file name is in the ../data/ folder |
string | N/A |
--out | output in this directory as an .out file | bool | 0 |
--waitSweep | number of sweeps to wit before sampling | int | 10 |
--rptSweep | number of sweeps sampled | int | 10000 |
-n | Size of Lattice | int | 3 |
-J | interaction strength | float between 0-1 | 0 |
-p | randomness | float between 0-1 | 0 |
--tmin | minimal temperature | float | 0.1 |
--tmax | maximal temperature | float | 2.1 |
--nt | number of bins (data points -1) | nt | 10 |