if {"$SSS_PROG"!="ising"} {tk_dialog .temp {} "This preset is meant for the program 'ising', and cannot be loaded by '$SSS_PROG'" {} 0 "Ok"; return} set storedlattice 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111110111111111111111111111111111111110111111111111111111011000010110000100001111111111011011110110110101101111111111011000010110110101101111111111011111010110110101101111111111001000010010110100001111111111111111111111111111101111111111111111111111111100001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 LASSPselection_set .graphtype "magnetization" LASSPselection_set .init_cond "recall" LASSPscale2_configure .t -scrollinc .1 LASSPscale2_configure .t -scrollmin 0 LASSPscale2_configure .t -scrollmax 10 LASSPscale2_configure .t -scrolltype linear LASSPscale2_set -nocommand .t 50.0 LASSPscale2_configure .h -scrollinc 1 LASSPscale2_configure .h -scrollmin 0 LASSPscale2_configure .h -scrollmax 100 LASSPscale2_configure .h -scrolltype linear LASSPscale2_set -nocommand .h 0 LASSPscale2_configure .n -scrollinc 1 LASSPscale2_configure .n -scrollmin 1 LASSPscale2_configure .n -scrollmax 10000 LASSPscale2_configure .n -scrolltype log LASSPscale2_set -nocommand .n 2.00e+02 LASSPscale2_configure .speed -scrollinc 1 LASSPscale2_configure .speed -scrollmin 0 LASSPscale2_configure .speed -scrollmax 100 LASSPscale2_configure .speed -scrolltype linear LASSPscale2_set -nocommand .speed 10 .lattice configure -upColor red .lattice configure -downColor white .lattice configure -nx 30 -ny 30 ising_configure -nx 30 -ny 30 set lattice 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111110111111111111111111111111111111110111111111111111111011000010110000100001111111111011011110110110101101111111111011000010110110101101111111111011111010110110101101111111111001000010010110100001111111111111111111111111111101111111111111111111111111100001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 set nx 30 set ny 30 for {set j 0} {$j<$ny} {incr j} { for {set i 0} {$i<$nx} {incr i} { ising_flipspin $i $j [string index $lattice [expr $i+$nx*$j]] } } ising_display lattice .resetdata invoke