From 79e930ba1203852f3405cc1aa32627b82a3dbb2a Mon Sep 17 00:00:00 2001 From: Vera Guelpers Date: Fri, 10 May 2019 12:46:18 +0100 Subject: [PATCH] Hadrons: Lepton Propagator for kl2, sign swap for antiperiodic boundary --- Hadrons/Modules/MFermion/EMLepton.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Hadrons/Modules/MFermion/EMLepton.hpp b/Hadrons/Modules/MFermion/EMLepton.hpp index a67f7495..1a0dfeef 100644 --- a/Hadrons/Modules/MFermion/EMLepton.hpp +++ b/Hadrons/Modules/MFermion/EMLepton.hpp @@ -233,6 +233,7 @@ void TEMLepton::execute(void) for(tl=0;tl::execute(void) // keep the result for the desired delta t Aslashlep = where(tlat == (tl-par().deltat+nt)%nt, proptmp, Aslashlep); } + + //account for possible anti-periodic boundary in time + Aslashlep = where( tlat >= nt-par().deltat, boundary[Tp]*Aslashlep, Aslashlep); + lep = where( tlat >= nt-par().deltat, boundary[Tp]*lep, lep); + } END_MODULE_NAMESPACE