diff options
-rw-r--r-- | ell_grid_solve.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ell_grid_solve.c b/ell_grid_solve.c index c29f69b..e792b47 100644 --- a/ell_grid_solve.c +++ b/ell_grid_solve.c @@ -151,7 +151,6 @@ static void boundaries_apply_fixval(double *dst, const ptrdiff_t dst_stride[2], } static void boundaries_apply_reflect(double *dst, const ptrdiff_t dst_stride[2], - const double *src, ptrdiff_t src_stride, size_t boundary_size) { if (dst_stride[0] == 1) { @@ -177,7 +176,6 @@ static const double falloff_bnd_fd_factors[][FD_STENCIL_MAX * 2 + 1] = { }; static void boundaries_apply_falloff(double *dst, const ptrdiff_t dst_stride[2], - const double *src, ptrdiff_t src_stride, size_t boundary_size, EGSContext *ctx) { for (ptrdiff_t bnd_layer = 1; bnd_layer <= ctx->fd_stencil; bnd_layer++) @@ -233,15 +231,13 @@ static void boundaries_apply(EGSContext *ctx, int init) break; case MG2D_BC_TYPE_REFLECT: start_bnd = gettime(); - boundaries_apply_reflect(dst, dst_strides, bnd->val, - bnd->val_stride, size_boundary); + boundaries_apply_reflect(dst, dst_strides, size_boundary); ctx->time_bnd_reflect += gettime() - start_bnd; ctx->count_bnd_reflect++; break; case MG2D_BC_TYPE_FALLOFF: start_bnd = gettime(); - boundaries_apply_falloff(dst, dst_strides, bnd->val, - bnd->val_stride, size_boundary, ctx); + boundaries_apply_falloff(dst, dst_strides, size_boundary, ctx); ctx->time_bnd_falloff += gettime() - start_bnd; ctx->count_bnd_falloff++; break; |