diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-01-21 13:13:03 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-01-21 13:13:03 +0100 |
commit | 6cdcade8150b8b063392f74231390f138b9f937b (patch) | |
tree | 3668acc8dc165ce20da63fd52420594965235c33 /mg2d.h | |
parent | 6df6baeb31b82349748acc219aa64c549a45c91a (diff) |
mg2d: failer earlier when relaxation does not converge
Diffstat (limited to 'mg2d.h')
-rw-r--r-- | mg2d.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,6 +22,10 @@ #include <stddef.h> #include <stdint.h> +enum MG2DError { + MG2D_ERR_DIVERGE = -0xff00, +}; + /** * Type of the boundary condition on a given boundary. */ |