diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-12-17 15:02:09 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-12-17 15:02:09 -0500 |
commit | b80e90d1ed702877f905875be3e416ca599a62a3 (patch) | |
tree | 53fca080434ddc1b3d3795b121eea35f4f21a00c /hadamard.cpp | |
parent | 342d83d6f24d5b063864f883ec05e7c9fff1301c (diff) | |
download | code-b80e90d1ed702877f905875be3e416ca599a62a3.tar.gz code-b80e90d1ed702877f905875be3e416ca599a62a3.tar.bz2 code-b80e90d1ed702877f905875be3e416ca599a62a3.zip |
partial implementation of dynamic pt
Diffstat (limited to 'hadamard.cpp')
-rw-r--r-- | hadamard.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/hadamard.cpp b/hadamard.cpp index 1d99a2e..1afb270 100644 --- a/hadamard.cpp +++ b/hadamard.cpp @@ -92,9 +92,6 @@ int main(int argc, char* argv[]) { case 'M': M = (unsigned)atof(optarg); break; - case 'm': - m = (unsigned)atof(optarg); - break; default: exit(1); } @@ -135,11 +132,10 @@ int main(int argc, char* argv[]) { sim.E = sim.M.energy(); } - std::cout << "Beginning " << n_tuning << " tuning steps for " << n << ".\n"; - p.tune(n_tuning, ε); - std::cout << "Finished tuning, beginning " << N << " dry tempering updates of " << M + std::cout << "Beginning simulation of " << n << ".\n"; + std::cout << "Beginning " << n_tuning << " tuning tempering updates of " << M << " sweeps each.\n"; - p.run(m, M, true); + p.tune(n_tuning, M, ε); std::cout << "Finished tuning, beginning " << N << " measurement tempering updates of " << M << " sweeps each.\n"; p.run(N, M); |