aboutsummaryrefslogtreecommitdiff
path: root/mg2d_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg2d_constants.h')
-rw-r--r--mg2d_constants.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/mg2d_constants.h b/mg2d_constants.h
index aa3d5cb..a197240 100644
--- a/mg2d_constants.h
+++ b/mg2d_constants.h
@@ -20,7 +20,14 @@
#define MG2D_CONSTANTS_H
enum MG2DError {
- MG2D_ERR_DIVERGE = -0xff00,
+ /**
+ * The solver has diverged.
+ */
+ MG2D_ERR_DIVERGE = -0xff00,
+ /* Maximum number of iterations has been executed without the solution
+ * reaching desired tolerance.
+ */
+ MG2D_ERR_MAXITER_REACHED = -0xff01,
};
/**