aboutsummaryrefslogtreecommitdiff
path: root/mg2d.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-07-13 10:58:37 +0200
committerAnton Khirnov <anton@khirnov.net>2020-07-13 10:58:37 +0200
commitb06f56c959ffa4e3f3d7f0acaadcf81a93ef9fa5 (patch)
tree3791cfbead6c899b9890363103628e5c4bcde9bb /mg2d.h
parent2756ddf7f50b7debd90ecada3944eda7e2ef5236 (diff)
parente95010e10ccf903a97ac8479b0df35fe66143a9a (diff)
Merge branch 'adaptive_step' into deploy
Diffstat (limited to 'mg2d.h')
-rw-r--r--mg2d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mg2d.h b/mg2d.h
index 8f48361..56e129f 100644
--- a/mg2d.h
+++ b/mg2d.h
@@ -246,6 +246,11 @@ typedef struct MG2DContext {
* Set by mg2d_solve() if it returns 0 or MG2D_ERR_MAXITER_REACHED.
*/
double residual_max;
+
+ /**
+ * Use adaptive stepping for relaxation.
+ */
+ int adaptive_step;
} MG2DContext;
/**