diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-05-12 09:06:03 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-05-17 09:44:36 +0200 |
commit | 1980fccbc872d3c203034f236951eb9834fe916e (patch) | |
tree | 7b313b42a694f8fc814b988110a63cf39c2b62d5 /mg2d.c | |
parent | f430bdb2823ac7596c4db24f230e37fda0bc55ff (diff) |
transfer: unify the code for full-weighted transfer
Also, rename the operator names to make more sense.
Diffstat (limited to 'mg2d.c')
-rw-r--r-- | mg2d.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -405,9 +405,9 @@ static int mg_levels_init(MG2DContext *ctx) if (cur->solver->domain_size[0] == 2 * (cur->child->solver->domain_size[0] - 1) + 1) { if (ctx->fd_stencil == 1) - op_restrict = GRID_TRANSFER_FW_3; + op_restrict = GRID_TRANSFER_FW_2; else - op_restrict = GRID_TRANSFER_FW_5; + op_restrict = GRID_TRANSFER_FW_3; } else op_restrict = op_interp; |