Change output

This commit is contained in:
Cory Balaton 2023-12-03 16:45:04 +01:00
parent e36ceaf5bd
commit 14c7c76614
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B

View File

@ -30,7 +30,7 @@ void time_lattice_sizes()
t0 = omp_get_wtime(); t0 = omp_get_wtime();
montecarlo::phase_transition(L, 2.1, 2.4, 40, 100000, montecarlo::phase_transition(L, 2.1, 2.4, 40, 100000,
montecarlo::mcmc_parallel, montecarlo::mcmc_parallel,
"output/garbage/null.txt"); "/dev/null");
t1 = omp_get_wtime(); t1 = omp_get_wtime();
ofile << utils::scientific_format(L) << ',' ofile << utils::scientific_format(L) << ','
<< utils::scientific_format(t1 - t0) << '\n'; << utils::scientific_format(t1 - t0) << '\n';
@ -52,7 +52,7 @@ void time_sample_sizes()
t0 = omp_get_wtime(); t0 = omp_get_wtime();
montecarlo::phase_transition(20, 2.1, 2.4, 40, samples, montecarlo::phase_transition(20, 2.1, 2.4, 40, samples,
montecarlo::mcmc_parallel, montecarlo::mcmc_parallel,
"output/garbage/null.txt"); "/dev/null");
t1 = omp_get_wtime(); t1 = omp_get_wtime();
ofile << utils::scientific_format(samples) << ',' ofile << utils::scientific_format(samples) << ','
<< utils::scientific_format(t1 - t0) << '\n'; << utils::scientific_format(t1 - t0) << '\n';