summaryrefslogtreecommitdiff
path: root/mg2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg2d.h')
-rw-r--r--mg2d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mg2d.h b/mg2d.h
index f7897f6..0c12f22 100644
--- a/mg2d.h
+++ b/mg2d.h
@@ -237,6 +237,13 @@ typedef struct MG2DContext {
* Set by mg2d_solver_alloc[_mpi]().
*/
size_t local_size[2];
+
+ double residual_max;
+
+ /**
+ * Use adaptive stepping for relaxation.
+ */
+ int adaptive_step;
} MG2DContext;
/**