diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-01-25 16:16:17 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-01-25 17:01:20 +0100 |
commit | d76687285a032e25cbd258035321cb8d6d8e0330 (patch) | |
tree | 658d4a98c471129dd193efec43a4e61dd65e841b /mg2d_constants.h | |
parent | c570c02ea4a427ed6dbf74652ba4f7936cb371e8 (diff) |
mg2d: factor out the boundary condition-related API
Diffstat (limited to 'mg2d_constants.h')
-rw-r--r-- | mg2d_constants.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/mg2d_constants.h b/mg2d_constants.h index 1ab4bc6..aa3d5cb 100644 --- a/mg2d_constants.h +++ b/mg2d_constants.h @@ -24,45 +24,6 @@ enum MG2DError { }; /** - * 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. */ enum MG2DDiffCoeff { |