1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 04:37:05 +01:00

develop wrappers to make the stencils easier to construct

This commit is contained in:
david clarke
2023-06-26 17:45:35 -06:00
parent a07421b3d3
commit eeb4703b84
2 changed files with 31 additions and 25 deletions

View File

@ -79,5 +79,12 @@ int main (int argc, char **argv)
double path_coeff[6] = {1, 2, 3, 4, 5, 6};
Smear_HISQ_fat<LatticeGaugeField> hisq_fat_Cstyle(&GRID,path_coeff);
// Make sure result doesn't change w.r.t. a trusted lattice
NerscIO::readConfiguration(Umu, header, "nersc.l8t4b3360.3link.control");
LatticeGaugeField diff(&GRID);
diff = Umu-U_smr;
auto absDiff = norm2(diff)/norm2(Umu);
Grid_log(" |Umu-U|/|Umu| =",absDiff);
Grid_finalize();
}