diff --git a/Grid/cartesian/Cartesian_base.h b/Grid/cartesian/Cartesian_base.h index bb3c3b3f..66400787 100644 --- a/Grid/cartesian/Cartesian_base.h +++ b/Grid/cartesian/Cartesian_base.h @@ -82,6 +82,7 @@ public: bool _isCheckerBoarded; int LocallyPeriodic; Coordinate _checker_dim_mask; + int _checker_dim; public: @@ -89,7 +90,7 @@ public: // Checkerboarding interface is virtual and overridden by // GridCartesian / GridRedBlackCartesian //////////////////////////////////////////////////////////////// - virtual int CheckerBoarded(int dim)=0; + virtual int CheckerBoarded(int dim) =0; virtual int CheckerBoard(const Coordinate &site)=0; virtual int CheckerBoardDestination(int source_cb,int shift,int dim)=0; virtual int CheckerBoardShift(int source_cb,int dim,int shift,int osite)=0; diff --git a/Grid/cartesian/Cartesian_full.h b/Grid/cartesian/Cartesian_full.h index 31a67bf0..1d883dc7 100644 --- a/Grid/cartesian/Cartesian_full.h +++ b/Grid/cartesian/Cartesian_full.h @@ -38,7 +38,7 @@ class GridCartesian: public GridBase { public: int dummy; - Coordinate _checker_dim_mask; + // Coordinate _checker_dim_mask; virtual int CheckerBoardFromOindexTable (int Oindex) { return 0; } @@ -46,7 +46,7 @@ public: { return 0; } - virtual int CheckerBoarded(int dim){ + virtual int CheckerBoarded(int dim) { return 0; } virtual int CheckerBoard(const Coordinate &site){ @@ -106,6 +106,7 @@ public: _rdimensions.resize(_ndimension); _simd_layout.resize(_ndimension); _checker_dim_mask.resize(_ndimension);; + _checker_dim = -1; _lstart.resize(_ndimension); _lend.resize(_ndimension);