From a576331ff4c570a82f476b76570bbf75e7adc4bb Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 12 Jul 2018 10:36:21 -0400 Subject: more informative print statements --- src/analyze_correlations.cpp | 6 +++--- 1 file 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); -- cgit v1.2.3-54-g00ecf