mirror of
https://github.com/TREX-CoE/qmc-lttc.git
synced 2024-12-21 11:53:58 +01:00
tau argument in functions
This commit is contained in:
parent
09179024ea
commit
211a6ebbfd
4
QMC.org
4
QMC.org
@ -2254,7 +2254,7 @@ gfortran hydrogen.f90 qmc_stats.f90 vmc_metropolis.f90 -o vmc_metropolis
|
||||
from hydrogen import *
|
||||
from qmc_stats import *
|
||||
|
||||
def MonteCarlo(a, nmax, dt, Eref):
|
||||
def MonteCarlo(a, nmax, dt, tau, Eref):
|
||||
# TODO
|
||||
|
||||
# Run simulation
|
||||
@ -2263,7 +2263,7 @@ nmax = 100000
|
||||
dt = 0.01
|
||||
E_ref = -0.5
|
||||
|
||||
X0 = [ MonteCarlo(a, nmax, dt, E_ref) for i in range(30)]
|
||||
X0 = [ MonteCarlo(a, nmax, dt, tau, E_ref) for i in range(30)]
|
||||
|
||||
# Energy
|
||||
X = [ x for (x, _) in X0 ]
|
||||
|
Loading…
Reference in New Issue
Block a user