Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuelhoover/ising-rust
2D Ising model implemented in Rust.
https://github.com/samuelhoover/ising-rust
ising-model ising-model-2d monte-carlo rust-lang
Last synced: 11 days ago
JSON representation
2D Ising model implemented in Rust.
- Host: GitHub
- URL: https://github.com/samuelhoover/ising-rust
- Owner: samuelhoover
- License: mit
- Created: 2024-12-20T02:07:05.000Z (20 days ago)
- Default Branch: master
- Last Pushed: 2024-12-27T22:54:32.000Z (12 days ago)
- Last Synced: 2024-12-27T23:39:34.612Z (12 days ago)
- Topics: ising-model, ising-model-2d, monte-carlo, rust-lang
- Language: Rust
- Homepage:
- Size: 5.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2d Ising model in Rust
Ising model on a 2,000 x 2,000 square lattice, in 1B steps, simulated *via*
Monte Carlo, implemented in Rust. Compiled executable completes simulation in
less than 6 seconds on M1 Pro processor.| Initial lattice | Final lattice |
|--|--|
| | || Time evolution of relative spin count |
|--|
| |To play around with the lattice, parameters, constants, *etc.*, modify
`src/main.rs` and call `cargo run` to run. Keep in mind that this simulation
will take considerably longer than the optimized executable version. To obtain
the optimized executable version, build the project using `cargo build -r` and
then call the executable (likely `/target/release/ising`).