diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-04-09 09:45:16 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-01-26 20:21:39 +0100 |
commit | c2740d169b81ae4f113bad26a5462c0d3947cc48 (patch) | |
tree | 801929156a0a1472780071b514f76dfe6c32fa28 /mg2d.c | |
parent | 62c92eea4ec4859fff5002931e2d7d562b3deb5d (diff) |
egs: add higher-order finite difference operatorsfd8
Diffstat (limited to 'mg2d.c')
-rw-r--r-- | mg2d.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -860,6 +860,8 @@ static int mg_levels_init(MG2DContext *ctx) switch (ctx->fd_stencil) { case 1: op_interp = GRID_TRANSFER_LAGRANGE_3; break; case 2: op_interp = GRID_TRANSFER_LAGRANGE_5; break; + case 3: op_interp = GRID_TRANSFER_LAGRANGE_7; break; + case 4: op_interp = GRID_TRANSFER_LAGRANGE_7; break; default: return -ENOSYS; } |