diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-01-13 13:51:27 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-01-13 13:51:27 +0100 |
commit | 685f204c329a59ae2245fa55b8639da73877f39d (patch) | |
tree | ebdd393fd11bb1783dc7bdba5e0fc80454c913cb /mg2d.c | |
parent | fe66d06cddc60124eb7cd6ba251749432a47111c (diff) |
mg2d: make the cfl factor runtime-configurable
Diffstat (limited to 'mg2d.c')
-rw-r--r-- | mg2d.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -421,6 +421,7 @@ static int mg_levels_init(MG2DContext *ctx) cur->solver->cpuflags = priv->cpuflags; cur->solver->fd_stencil = ctx->fd_stencil; + cur->solver->relax_factor = ctx->cfl_factor; prev = cur; cur = cur->child; |