From f1d308e6c7a394256d8ede2979c80d57e3868efa Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 8 Feb 2019 08:48:28 +0100 Subject: Rename fixdiff boundary condition to reflect. This is what it actually does, we do not support setting arbitrary derivative values. API bump. --- mg2d_boundary.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mg2d_boundary.h') diff --git a/mg2d_boundary.h b/mg2d_boundary.h index 12c897f..910249f 100644 --- a/mg2d_boundary.h +++ b/mg2d_boundary.h @@ -32,12 +32,9 @@ enum MG2DBCType { */ MG2D_BC_TYPE_FIXVAL, /** - * The normal derivative of the unkown function is fixed on the boundary. - * - * TODO: the only supported value of the derivative is currently zero, i.e. - * periodic boundary conditions. + * The unknown function is mirrored across the boundary */ - MG2D_BC_TYPE_FIXDIFF, + MG2D_BC_TYPE_REFLECT, }; /** -- cgit v1.2.3