From 4f997c5f04d469b69e2f62691b0a672cb1de7414 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 25 May 2022 11:15:25 -0700 Subject: [PATCH] Remove extra face kernels in Dirichlet --- Grid/stencil/Stencil.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Grid/stencil/Stencil.h b/Grid/stencil/Stencil.h index e2f17d15..07598265 100644 --- a/Grid/stencil/Stencil.h +++ b/Grid/stencil/Stencil.h @@ -1255,7 +1255,9 @@ public: } } - AddMerge(&this->u_recv_buf_p[comm_off],rpointers,reduced_buffer_size,permute_type,Mergers); + if ( comms_recv ) { + AddMerge(&this->u_recv_buf_p[comm_off],rpointers,reduced_buffer_size,permute_type,Mergers); + } u_comm_offset +=buffer_size;