From 2b7ee817da07096f5a87a5f423f2a2bc9e9e2d98 Mon Sep 17 00:00:00 2001 From: ctpeterson Date: Tue, 17 Dec 2024 10:45:01 -0500 Subject: [PATCH] Added HISQ smearing force interface --- src/gauge/hisqsmear.nim | 74 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/src/gauge/hisqsmear.nim b/src/gauge/hisqsmear.nim index e69de29..eff1009 100644 --- a/src/gauge/hisqsmear.nim +++ b/src/gauge/hisqsmear.nim @@ -0,0 +1,74 @@ +import qex +import gauge +import gauge/[fat7l,fat7lderiv] + +export hisqLinks + +proc fat7lDeriv( + mid: auto, + gauge: auto, + deriv: auto, + coef: Fat7lCoefs, + llgauge: auto, + llderiv: auto, + naik: float, + perf: var PerfInfo + ) = + var (f,fll) = (newOneOf(deriv),newOneOf(llderiv)) + fat7lderiv(f,gauge,deriv,coef,fll,llgauge,llderiv,naik,perf) + threads: + for mu in 0..