From aac1736617df886856926eb82ee7c40ddd3ec086 Mon Sep 17 00:00:00 2001 From: Quadro Date: Tue, 25 May 2021 18:21:48 -0400 Subject: [PATCH] Double or single --- Grid/qcd/action/momentum/DirichletFilter.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Grid/qcd/action/momentum/DirichletFilter.h b/Grid/qcd/action/momentum/DirichletFilter.h index 1014d64e..85010ed1 100644 --- a/Grid/qcd/action/momentum/DirichletFilter.h +++ b/Grid/qcd/action/momentum/DirichletFilter.h @@ -37,11 +37,6 @@ NAMESPACE_BEGIN(Grid); template struct DirichletFilter: public MomentumFilterBase { - typedef typename MomentaField::vector_type vector_type; //SIMD-vectorized complex type - typedef typename MomentaField::scalar_type scalar_type; //scalar complex type - - typedef iScalar > > ScalarType; //complex phase for each site - Coordinate Block; DirichletFilter(const Coordinate &_Block): Block(_Block){} @@ -53,8 +48,9 @@ struct DirichletFilter: public MomentumFilterBase //////////////////////////////////////////////////// // Zero strictly links crossing between domains //////////////////////////////////////////////////// - LatticeInteger coor(grid); - LatticeColourMatrix zz(grid); zz = Zero(); + LatticeInteger coor(grid); + typedef decltype(PeekIndex(P,0)) MatrixType; + MatrixType zz(grid); zz = Zero(); Coordinate Global=grid->GlobalDimensions(); for(int mu=0;mu1) ) {