From 4fc28b051d2c4e6758944a4da08f6c6b25871df5 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 15 Mar 2019 14:17:21 +0100 Subject: Remove unused context variable. --- src/maximal_slicing_axi_mg.c | 15 --------------- 1 file changed, 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= - */ - 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; } -- cgit v1.2.3