aboutsummaryrefslogtreecommitdiff
path: root/ell_grid_solve.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-05-12 13:33:04 +0200
committerAnton Khirnov <anton@khirnov.net>2019-05-21 14:55:36 +0200
commite1474028b17651bd9ad75c366ad1bb46aab63a8f (patch)
tree2eb774fa29f8d9fae67811d98391416f9bd9a9d8 /ell_grid_solve.h
parent6ca76797cb4034a961166ae782db550ba9a7e6e6 (diff)
Make the ghost points explicit in prolongation
Diffstat (limited to 'ell_grid_solve.h')
-rw-r--r--ell_grid_solve.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ell_grid_solve.h b/ell_grid_solve.h
index 601eac9..7ce61a0 100644
--- a/ell_grid_solve.h
+++ b/ell_grid_solve.h
@@ -156,6 +156,11 @@ typedef struct EGSContext {
NDArray *u;
/**
+ * u including the ghost zones.
+ */
+ NDArray *u_base;
+
+ /**
* Values of the right-hand side.
*
* Allocated by the solver in mg2di_egs_alloc(), owned by the solver.