Skip to content

Simplest implimentation of D-dimensional classical Ising model in Julia.

License

Notifications You must be signed in to change notification settings

mbeach42/D-Ising.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

D-Ising.jl

This is the simplest implimentation of the classical nearest-neighbours Ising model on the (hyper-)rectangular lattice I could think of. Using Julia is especially nice given the Base.Cartesian module, allowing easy implimentation in arbitrary dimensions.

100 lines of code to get the energy & magnetization for D-dimensional Ising model with speeds comparable to C++.

Also Wolff cluster updates are implimented (extra 20 loc).

About

Simplest implimentation of D-dimensional classical Ising model in Julia.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages