1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-19 14:17:07 +01:00

Added PaddedCell and GeneralisedLocalStencil header includes to standard base headers

Moved versions of the padded-cell implementations of staple and rect-staple from test code to WilsonLoops header
Added StapleAndRectStapleAll which is now called by the plaq+rectangle action class. Under the hood it uses the padded cell implementations with maximal reuse of the padded gauge links
This commit is contained in:
Christopher Kelly
2023-06-27 11:23:30 -04:00
parent 6f6844ccf1
commit bb71e9a96a
5 changed files with 304 additions and 3 deletions

View File

@@ -83,8 +83,7 @@ public:
U[mu] = PeekIndex<LorentzIndex>(Umu,mu);
}
std::vector<GaugeLinkField> RectStaple(Nd,grid), Staple(Nd,grid);
WilsonLoops<Gimpl>::StapleAll(Staple, U);
WilsonLoops<Gimpl>::RectStapleAll(RectStaple, U);
WilsonLoops<Gimpl>::StapleAndRectStapleAll(Staple, RectStaple, U);
GaugeLinkField dSdU_mu(grid);
GaugeLinkField staple(grid);