aboutsummaryrefslogtreecommitdiff
path: root/ell_grid_solve.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-01-26 12:07:27 +0100
committerAnton Khirnov <anton@khirnov.net>2019-01-26 15:31:06 +0100
commit042257840fd26ad8d4dd8f304ad1adf06d6b50b4 (patch)
tree72b19ca211306af3610173096a87c638226a3d10 /ell_grid_solve.h
parentd519d82a3e4b32944b77b1ae26cfefa45ec29d71 (diff)
Solve the discretized system exactly on the coarsest level.
Diffstat (limited to 'ell_grid_solve.h')
-rw-r--r--ell_grid_solve.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ell_grid_solve.h b/ell_grid_solve.h
index 70782c8..a12e9c3 100644
--- a/ell_grid_solve.h
+++ b/ell_grid_solve.h
@@ -52,6 +52,13 @@ enum EGSType {
* mg2di_egs_solve() does a single relaxation step
*/
EGS_SOLVER_RELAXATION,
+ /**
+ * Solve the equation exactly by contructing a linear system and solving it with LAPACK.
+ *
+ * solver_data is NULL
+ * mg2di_egs_solve() solves the discretized system exactly (up to roundoff error)
+ */
+ EGS_SOLVER_EXACT,
};
typedef struct EGSInternal EGSInternal;