Skip to main content

ISING COUPLING

## interaction energy for ising system between the spins seperated with distance r.
## J0 and alpha can be varied with respect to the ising system
function J=coupling(r,J0,alpha)
J=J0*exp((-r-1)/alpha);
Endfunction

Comments

Popular posts from this blog