aboutsummaryrefslogtreecommitdiff
path: root/mg2d_boundary.h
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_boundary.h
parentd11a14a27b59d91b64bcdfc7059f62fcec596001 (diff)
Implement C/r falloff boundary condition.
API bump.
Diffstat (limited to 'mg2d_boundary.h')
-rw-r--r--mg2d_boundary.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mg2d_boundary.h b/mg2d_boundary.h
index 910249f..752661d 100644
--- a/mg2d_boundary.h
+++ b/mg2d_boundary.h
@@ -35,6 +35,11 @@ enum MG2DBCType {
* The unknown function is mirrored across the boundary
*/
MG2D_BC_TYPE_REFLECT,
+
+ /**
+ * The unknown function falls off as C / x on the boundary.
+ */
+ MG2D_BC_TYPE_FALLOFF,
};
/**