diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-06-29 11:24:39 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-06-29 11:24:39 +0200 |
commit | f0358ba048dbb7d77546326dbde745c8ab809f72 (patch) | |
tree | 4537c2901adece92a22edc291bc692a563f3671d | |
parent | 771217689609c434b69771ecb8ffd7bbeda4153b (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.c | 2 |
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; |