1
0
mirror of https://github.com/TREX-CoE/qmc-lttc.git synced 2024-12-22 04:15:01 +01:00

tau argument in functions

This commit is contained in:
Anthony Scemama 2021-02-01 09:48:01 +01:00
parent 09179024ea
commit 211a6ebbfd

View File

@ -2254,7 +2254,7 @@ gfortran hydrogen.f90 qmc_stats.f90 vmc_metropolis.f90 -o vmc_metropolis
from hydrogen import * from hydrogen import *
from qmc_stats import * from qmc_stats import *
def MonteCarlo(a, nmax, dt, Eref): def MonteCarlo(a, nmax, dt, tau, Eref):
# TODO # TODO
# Run simulation # Run simulation
@ -2263,7 +2263,7 @@ nmax = 100000
dt = 0.01 dt = 0.01
E_ref = -0.5 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 # Energy
X = [ x for (x, _) in X0 ] X = [ x for (x, _) in X0 ]