Metropolis-Hastings algorithm for modeling 2D Ising model written in Rust.
The program takes six arguments in the following order: file name, grid width, grid height, interaction strength 100
Monte Carlo steps on a 128x128
grid with interaction strength 1.0
and temperature 2.269
K and save the configuration to file data.txt
we run the following command in console:
cargo run data.txt 128 1.0 2.269 100
The program takes five arguments in the following order:
file name, Hilbert curve order number, interaction strength 100
Monte Carlo steps on a grid with size correspondint to a 7
th order Hilbert curve with interaction strength 1.0
and temperature 2.269
K and save the configuration to file data.txt
we run the following command in console:
cargo run data.txt 7 1.0 2.269 100
Further discussion about the implementation in here and here.