diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-03-15 14:17:21 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-03-15 14:39:57 +0100 |
commit | 4fc28b051d2c4e6758944a4da08f6c6b25871df5 (patch) | |
tree | 497fa351fe7e46065f5a38bfe648c9fc69400de9 | |
parent | b50edf6ff11001edc99c42991f7c50988e551648 (diff) |
Remove unused context variable.
-rw-r--r-- | src/maximal_slicing_axi_mg.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/maximal_slicing_axi_mg.c b/src/maximal_slicing_axi_mg.c index e9f14fd..65b4beb 100644 --- a/src/maximal_slicing_axi_mg.c +++ b/src/maximal_slicing_axi_mg.c @@ -60,16 +60,6 @@ typedef struct CoordPatch { * from the cactus grid */ ptrdiff_t offset_left[2]; ptrdiff_t offset_right[2]; - - /** - * pointers into boundary_interp_vals - * the first row are the boundary points for the solver - * [0] is the upper-z patch - * rows run from x=0 to x[lsh[0] - 1] - * [1] is the upper-x patch - * rows run from z=0 to z=<upper physical boundary> - */ - ptrdiff_t boundary_val_stride[2]; } CoordPatch; typedef struct MSMGContext { @@ -250,11 +240,6 @@ static CoordPatch *get_coord_patch(MSMGContext *ms, int level) 0, sizeof(*cp->solver->boundaries[i]->val) * (domain_size[0] + 2 * j)); } - if (cp->level > 0) { - cp->boundary_val_stride[0] = gh->cctk_lsh[0] - cp->offset_left[0]; - cp->boundary_val_stride[1] = cp->solver->domain_size; - } - ms->nb_patches++; return cp; } |