Exemplo n.º 1
0
#!/usr/bin/python2
# -*- coding:utf-8 -*-
# Author: Sebastian Weber, 5 PI Universitaet Stuttgart
# some additions by: Patrick Kreissl, ICP Universitaet Stuttgart

from __future__ import division
from libs.simlib import Plotter, Params
import numpy as np
import subprocess
import os.path
from matplotlib.colors import LogNorm

# SETUP ###################################################################################################
print '==Setup=='

params = Params()

params.Ising_J = 1
params.Ising_H = 0

params.MC_Seed = 42
params.MC_Sweeps = 10000

#chose between cases 1, 2 and 3 and comment the others out

# standard parameters (used for tasks 2, 3)
params.T_Start = 1
params.T_Stop = 5
params.T_StepSize = 0.1

Ising_L = [4,16,64]