We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think Susceptibility should be calculated as: X[tt] = (n1*M2 - n1^2*M1^2)*iT
X[tt] = (n1*M2 - n1^2*M1^2)*iT
because X = (<M^2> - <M>^2)/T
X = (<M^2> - <M>^2)/T
The text was updated successfully, but these errors were encountered:
Dear Zihu
You are right in saying that: X = ( < M^2 > - < M >^2 )/T
X = ( < M^2 > - < M >^2 )/T
Note <M^2> is defined per monte carlo move. So <M^2> = M2/(mcSteps).
<M^2> = M2/(mcSteps).
<M> = M1/mcsteps, so <M>^2 = (M1/(mcSteps)) * (M1/(mcSteps))
In the end, you make it per site by dividing by N*N.
So n1 = 1.0/(mcSteps * N * N); and n2 = 1.0/( mcSteps * mcSteps * N * N),
n1 = 1.0/(mcSteps * N * N);
n2 = 1.0/( mcSteps * mcSteps * N * N),
Hope that helps for your comment on https://rajeshrinet.github.io/blog/2014/ising-model/.
Sorry, something went wrong.
No branches or pull requests
I think Susceptibility should be calculated as:
X[tt] = (n1*M2 - n1^2*M1^2)*iT
because
X = (<M^2> - <M>^2)/T
The text was updated successfully, but these errors were encountered: