From a3420e6fa95981815e270162d37530ee8da0f179 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 14 Aug 2025 21:29:20 +0000 Subject: [PATCH] Update for grid view logging --- Grid/stencil/GeneralLocalStencil.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Grid/stencil/GeneralLocalStencil.h b/Grid/stencil/GeneralLocalStencil.h index f8461e33..8de0d34d 100644 --- a/Grid/stencil/GeneralLocalStencil.h +++ b/Grid/stencil/GeneralLocalStencil.h @@ -52,6 +52,10 @@ class GeneralLocalStencilView { return & this->_entries_p[point+this->_npoints*osite]; } void ViewClose(void){}; +#ifdef GRID_LOG_VIEWS + size_t size() { return 0; }; + uint64_t & operator[](size_t i) { static uint64_t v=0; return v; }; +#endif }; //////////////////////////////////////// // The Stencil Class itself