summaryrefslogtreecommitdiff
path: root/src/wolff_vector.c
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-03-27 14:47:29 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-03-27 14:47:29 -0400
commit09e928c20d3249ccc6d56b2937fddb95d29d395c (patch)
tree08d142d9ec7ed0440397d00d92af745f66175d8d /src/wolff_vector.c
parent2928df0a4b4be30cde2b11bdcf2698875d5b9536 (diff)
downloadc++-09e928c20d3249ccc6d56b2937fddb95d29d395c.tar.gz
c++-09e928c20d3249ccc6d56b2937fddb95d29d395c.tar.bz2
c++-09e928c20d3249ccc6d56b2937fddb95d29d395c.zip
record number of tries
Diffstat (limited to 'src/wolff_vector.c')
-rw-r--r--src/wolff_vector.c2
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);