From 6cdcade8150b8b063392f74231390f138b9f937b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 21 Jan 2019 13:13:03 +0100 Subject: mg2d: failer earlier when relaxation does not converge --- mg2d.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mg2d.h') diff --git a/mg2d.h b/mg2d.h index a587a18..58308fd 100644 --- a/mg2d.h +++ b/mg2d.h @@ -22,6 +22,10 @@ #include #include +enum MG2DError { + MG2D_ERR_DIVERGE = -0xff00, +}; + /** * Type of the boundary condition on a given boundary. */ -- cgit v1.2.3