aboutsummaryrefslogtreecommitdiff
path: root/mg2d.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-02-08 08:48:28 +0100
committerAnton Khirnov <anton@khirnov.net>2019-02-08 08:49:44 +0100
commitf1d308e6c7a394256d8ede2979c80d57e3868efa (patch)
tree27560a6c431ddc3c03e81ddc1cac92d3b4e18846 /mg2d.c
parent1e3d13b0f885479fca1e02bf4fdbdba219dc0578 (diff)
Rename fixdiff boundary condition to reflect.
This is what it actually does, we do not support setting arbitrary derivative values. API bump.
Diffstat (limited to 'mg2d.c')
-rw-r--r--mg2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg2d.c b/mg2d.c
index 0cb9dd8..5522ed5 100644
--- a/mg2d.c
+++ b/mg2d.c
@@ -456,7 +456,7 @@ static int mg_levels_init(MG2DContext *ctx)
else
bnd_zero(bdst, ctx->fd_stencil, cur->solver->domain_size[0]);
break;
- case MG2D_BC_TYPE_FIXDIFF:
+ case MG2D_BC_TYPE_REFLECT:
bnd_zero(bdst, ctx->fd_stencil, cur->solver->domain_size[0]);
break;
default: