aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-06-29 11:24:39 +0200
committerAnton Khirnov <anton@khirnov.net>2019-06-29 11:24:39 +0200
commitf0358ba048dbb7d77546326dbde745c8ab809f72 (patch)
tree4537c2901adece92a22edc291bc692a563f3671d
parent771217689609c434b69771ecb8ffd7bbeda4153b (diff)
egs: reduce the max number of BiCGSTAB iterations to 4
Since we typically do many multigrid iterations per step, being more aggressive about a full inverse gives better performance.
-rw-r--r--ell_grid_solve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ell_grid_solve.c b/ell_grid_solve.c
index c3ce3a7..fd6e455 100644
--- a/ell_grid_solve.c
+++ b/ell_grid_solve.c
@@ -481,7 +481,7 @@ static int exact_arrays_alloc(EGSContext *ctx)
goto fail;
}
- ret = mg2di_bicgstab_context_alloc(&e->bicgstab, e->N, 64);
+ ret = mg2di_bicgstab_context_alloc(&e->bicgstab, e->N, 4);
if (ret < 0)
goto fail;