Commit JT 033020
- modified all spin pairs (match nve) - correct doc min_modify - correct code max norm (square values) - added draft nvt validation
This commit is contained in:
@ -65,6 +65,6 @@ for t in range (0,N):
|
||||
# calc. average magnetization
|
||||
Sm = (S1+S2)*0.5
|
||||
# calc. energy
|
||||
en = -J0*(np.dot(S1,S2))
|
||||
en = -2.0*J0*(np.dot(S1,S2))
|
||||
# print res. in ps for comparison with LAMMPS
|
||||
print(t*dt/1000.0,Sm[0],Sm[1],Sm[2],en)
|
||||
|
||||
Reference in New Issue
Block a user