paboyle / Grid

Data parallel C++ mathematical object library
GNU General Public License v2.0
154 stars 109 forks source link

Patch/adaptive wflow #412

Closed giltirn closed 2 years ago

giltirn commented 2 years ago

Hi Peter,

Here is the patch for the Wilson flow. It was based on the branch from my previous pull request (looks like you haven't pulled that yet) so unfortunately the file diffs contain both sets of changes. In summary I refactored the Wilson flow class to have adaptive and iterative in different derived class of a common base. This cleans up a lot of stuff and allows the adaptive smearing to be access through the Smearing base class ::smear operation. I also implemented Ramos' definition of the adaptive smearing update.

Best, Chris

Full change list: