From 1f907d330da8496d369877d7c93bd1379178acdc Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Sun, 10 Jul 2022 21:31:48 +0100 Subject: [PATCH] Different default params for dirichlet --- Grid/qcd/action/ActionParams.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Grid/qcd/action/ActionParams.h b/Grid/qcd/action/ActionParams.h index b203f27a..274ff318 100644 --- a/Grid/qcd/action/ActionParams.h +++ b/Grid/qcd/action/ActionParams.h @@ -39,7 +39,7 @@ struct GparityWilsonImplParams { Coordinate twists; //mu=Nd-1 is assumed to be the time direction and a twist value of 1 indicates antiperiodic BCs Coordinate dirichlet; // Blocksize of dirichlet BCs - GparityWilsonImplParams() : twists(Nd, 0), dirichlet(Nd, 0) {}; + GparityWilsonImplParams() : twists(Nd, 0) { dirichlet.resize(0); }; }; struct WilsonImplParams { @@ -48,13 +48,13 @@ struct WilsonImplParams { AcceleratorVector twist_n_2pi_L; AcceleratorVector boundary_phases; WilsonImplParams() { - dirichlet.resize(Nd,0); + dirichlet.resize(0); boundary_phases.resize(Nd, 1.0); twist_n_2pi_L.resize(Nd, 0.0); }; WilsonImplParams(const AcceleratorVector phi) : boundary_phases(phi), overlapCommsCompute(false) { twist_n_2pi_L.resize(Nd, 0.0); - dirichlet.resize(Nd,0); + dirichlet.resize(0); } }; @@ -62,7 +62,7 @@ struct StaggeredImplParams { Coordinate dirichlet; // Blocksize of dirichlet BCs StaggeredImplParams() { - dirichlet.resize(Nd,0); + dirichlet.resize(0); }; };