1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-10-14 05:04:42 +01:00

Assertion updates to macros (mostly) with backtrace.

WIlson flow to include options for DBW2, Iwasaki, Symanzik.
View logging for data assurance
This commit is contained in:
2025-08-07 15:48:38 +00:00
parent 41f344bbd3
commit 9e6a4a4737
306 changed files with 2013 additions and 1928 deletions

View File

@@ -106,7 +106,7 @@ int main (int argc, char ** argv)
peekLocalSite(g,Ug_v,gcoor);
peekLocalSite(l,Ul_v,lcoor);
g=g-l;
assert(norm2(g)==0);
GRID_ASSERT(norm2(g)==0);
diff = diff + norm2(g);
n = n + norm2(l);
}}}}
@@ -198,6 +198,6 @@ int main (int argc, char ** argv)
std::cout << GridLogMessage << " Average plaquette via padded cell "<<result<<std::endl;
std::cout << GridLogMessage << " Diff "<<result-plaq<<std::endl;
assert(fabs(result-plaq)<1.0e-8);
GRID_ASSERT(fabs(result-plaq)<1.0e-8);
Grid_finalize();
}