diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-03-27 14:47:29 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-03-27 14:47:29 -0400 |
commit | 09e928c20d3249ccc6d56b2937fddb95d29d395c (patch) | |
tree | 08d142d9ec7ed0440397d00d92af745f66175d8d | |
parent | 2928df0a4b4be30cde2b11bdcf2698875d5b9536 (diff) | |
download | c++-09e928c20d3249ccc6d56b2937fddb95d29d395c.tar.gz c++-09e928c20d3249ccc6d56b2937fddb95d29d395c.tar.bz2 c++-09e928c20d3249ccc6d56b2937fddb95d29d395c.zip |
record number of tries
-rw-r--r-- | src/wolff_vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff_vector.c b/src/wolff_vector.c index d283346..120d585 100644 --- a/src/wolff_vector.c +++ b/src/wolff_vector.c @@ -253,7 +253,7 @@ int main(int argc, char *argv[]) { FILE *outfile = fopen("out.m", "a"); - fprintf(outfile, "<|D->%" PRID ",L->%" PRIL ",q->%" PRIq ",T->%.15f", D, L, q, T); + fprintf(outfile, "<|N->%" PRIcount ",D->%" PRID ",L->%" PRIL ",q->%" PRIq ",T->%.15f", N, D, L, q, T); fprintf(outfile, ",E->%.15f,\\[Delta]E->%.15f,C->%.15f,\\[Delta]C->%.15f,M->{", E->x / h->nv, E->dx / h->nv, E->c / h->nv, E->dc / h->nv); for (q_t i = 0; i < q; i++) { fprintf(outfile, "%.15f", M[i]->x / h->nv); |