diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-12 10:36:21 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-12 10:36:21 -0400 |
commit | a576331ff4c570a82f476b76570bbf75e7adc4bb (patch) | |
tree | 84708a83d760fdf766bad4047ff5c0161a8df73f /src | |
parent | c4049d4a80189591aa40e26d198e02042dfb0826 (diff) | |
download | c++-a576331ff4c570a82f476b76570bbf75e7adc4bb.tar.gz c++-a576331ff4c570a82f476b76570bbf75e7adc4bb.tar.bz2 c++-a576331ff4c570a82f476b76570bbf75e7adc4bb.zip |
more informative print statements
Diffstat (limited to 'src')
-rw-r--r-- | src/analyze_correlations.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp index 2170a70..8a22080 100644 --- a/src/analyze_correlations.cpp +++ b/src/analyze_correlations.cpp @@ -233,7 +233,7 @@ int main (int argc, char *argv[]) { fwrite(OO_E, sizeof(double), 2 + length, file_E); fclose(file_E); - printf("Correlation functions for %g steps written.\n", OO_S[0]); + printf("%lu: Correlation functions for %g steps written.\n", id, OO_S[0]); free(OO_S); free(OO_E); @@ -280,7 +280,7 @@ int main (int argc, char *argv[]) { } if (N < drop) { - printf("Number of steps %lu is less than %" PRIcount ", nothing done.\n", N, drop); + printf("%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); } else { double *data_S = (double *)malloc(N * sizeof(double)); @@ -311,7 +311,7 @@ int main (int argc, char *argv[]) { free(data_S); free(data_E); - printf("Correlation functions for %g steps written.\n", OO_S[0]); + printf("%lu: Correlation functions for %g steps written.\n", id, OO_S[0]); free(OO_S); free(OO_E); |