diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-07-12 11:19:46 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-29 11:35:58 +0200 |
commit | 9380032e268efbc4920ac4598e43b9a47f57ae2f (patch) | |
tree | 70d2abc5bd71ae426c5b31695963f156e92313ab /mg2d_test.c | |
parent | c01eecbfbafedef629e510b2ee3fd28863a70779 (diff) |
mg2d: add support for adaptive step sizeadaptive_step
Diffstat (limited to 'mg2d_test.c')
-rw-r--r-- | mg2d_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mg2d_test.c b/mg2d_test.c index ec21d7d..f840363 100644 --- a/mg2d_test.c +++ b/mg2d_test.c @@ -120,6 +120,7 @@ int main(int argc, char **argv) ctx->nb_relax_post = 2; ctx->tol = TOL / (ctx->step[0] * ctx->step[1]); ctx->nb_threads = 1; + ctx->adaptive_step = 1; ctx->log_level = MG2D_LOG_INFO; for (int bnd_loc = 0; bnd_loc < ARRAY_ELEMS(ctx->boundaries); bnd_loc++) { |