From d76687285a032e25cbd258035321cb8d6d8e0330 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 25 Jan 2019 16:16:17 +0100 Subject: mg2d: factor out the boundary condition-related API --- mg2d_constants.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'mg2d_constants.h') diff --git a/mg2d_constants.h b/mg2d_constants.h index 1ab4bc6..aa3d5cb 100644 --- a/mg2d_constants.h +++ b/mg2d_constants.h @@ -23,45 +23,6 @@ enum MG2DError { MG2D_ERR_DIVERGE = -0xff00, }; -/** - * Type of the boundary condition on a given boundary. - */ -enum MG2DBCType { - /** - * The value of the unknown function is fixed on the boundary. - */ - 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. - */ - MG2D_BC_TYPE_FIXDIFF, -}; - -/** - * Location of the boundary. - */ -enum MG2DBoundaryLoc { - /** - * coord0 lower - */ - MG2D_BOUNDARY_0L, - /** - * coord0 upper - */ - MG2D_BOUNDARY_0U, - /** - * coord1 lower - */ - MG2D_BOUNDARY_1L, - /** - * coord1 upper - */ - MG2D_BOUNDARY_1U, -}; - /** * Derivative specifier. */ -- cgit v1.2.3