1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-08-18 20:21:53 +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

@@ -204,7 +204,7 @@ int main (int argc, char ** argv)
Dw.Dhop(src,result,0);
err = ref-result;
std::cout<<GridLogMessage << "norm diff "<< norm2(err)<<std::endl;
assert (norm2(err)< 1.0e-4 );
GRID_ASSERT (norm2(err)< 1.0e-4 );
}
double t1=usecond();
FGrid->Barrier();
@@ -244,7 +244,7 @@ int main (int argc, char ** argv)
FGrid->Barrier();
exit(-1);
}
assert (norm2(err)< 1.0e-4 );
GRID_ASSERT (norm2(err)< 1.0e-4 );
}
if (1)
@@ -380,8 +380,8 @@ int main (int argc, char ** argv)
std::cout<<GridLogMessage << "norm diff even "<< norm2(src_e)<<std::endl;
std::cout<<GridLogMessage << "norm diff odd "<< norm2(src_o)<<std::endl;
assert(norm2(src_e)<1.0e-4);
assert(norm2(src_o)<1.0e-4);
GRID_ASSERT(norm2(src_e)<1.0e-4);
GRID_ASSERT(norm2(src_o)<1.0e-4);
Grid_finalize();
exit(0);
}