aboutsummaryrefslogtreecommitdiff
path: root/mg2d.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-03-03 14:04:35 +0100
committerAnton Khirnov <anton@khirnov.net>2019-03-04 17:14:07 +0100
commit7f4b62ef082ee18090d00b3cad3bce3c89f5dc71 (patch)
tree67227c4683d1d4339bbec3edb7021f7663cba45a /mg2d.c
parentd11a14a27b59d91b64bcdfc7059f62fcec596001 (diff)
Implement C/r falloff boundary condition.
API bump.
Diffstat (limited to 'mg2d.c')
-rw-r--r--mg2d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mg2d.c b/mg2d.c
index 07e162e..0a17793 100644
--- a/mg2d.c
+++ b/mg2d.c
@@ -457,6 +457,7 @@ static int mg_levels_init(MG2DContext *ctx)
bnd_zero(bdst, ctx->fd_stencil, cur->solver->domain_size[0]);
break;
case MG2D_BC_TYPE_REFLECT:
+ case MG2D_BC_TYPE_FALLOFF:
bnd_zero(bdst, ctx->fd_stencil, cur->solver->domain_size[0]);
break;
default: