summaryrefslogtreecommitdiff
path: root/ell_relax.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-12-19 15:25:16 +0100
committerAnton Khirnov <anton@khirnov.net>2018-12-19 15:25:16 +0100
commit02f3be0de1f3b1de3ca3f80b18a70c2da2f26aed (patch)
treed41e9fddd3843ebc5ee15bb19b6105764f2f87de /ell_relax.h
parent69d606de2cb171bef5936459e12fbc299c3c63fb (diff)
ell_relax: make the time stepping factor configurable
And use different defaults for different FD stencils.
Diffstat (limited to 'ell_relax.h')
-rw-r--r--ell_relax.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ell_relax.h b/ell_relax.h
index 0e32015..4e97882 100644
--- a/ell_relax.h
+++ b/ell_relax.h
@@ -179,6 +179,11 @@ typedef struct EllRelaxContext {
EllRelaxBoundary boundaries[4];
/**
+ * The time stepping factor in relaxation.
+ */
+ double relax_factor;
+
+ /**
* Values of the unknown function.
*
* Allocated by the solver in mg2di_ell_relax_alloc(), owned by the solver.