Trisurf Monte Carlo simulator
Samo Penic
2016-03-15 6e42ef0edaba59fd344e89ffd469202ff2bd39ac
commit | author | age
bc14fb 1 #!/usr/bin/python3
SP 2
3 from trisurf import trisurf
4
5
6
bd6993 7 run1=trisurf.Runner(snapshot='snapshot.vtu')
c14bd6 8 run1.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono"))
7c45b1 9 run1.setSubdir("run0")
c14bd6 10 run1.start()
SP 11 #run
bc14fb 12 print(run1)
c14bd6 13 run1.getStatistics()
SP 14 print(run1.statistics)
15 #print(run1.tape)
16 #print(run1.tape.getValue('nshell'))