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

@@ -69,7 +69,7 @@ void run_test(int argc, char ** argv, const typename SpeciesD::ImplParams &param
bool cfg_loaded=false;
for(int i=1;i<argc;i++){
if(std::string(argv[i]) == "--load_config"){
assert(i != argc-1);
GRID_ASSERT(i != argc-1);
std::string file = argv[i+1];
NerscIO io;
FieldMetaData metadata;
@@ -158,9 +158,9 @@ int main (int argc, char ** argv)
for(int i=1;i<argc;i++){
std::string arg(argv[i]);
if(arg == "--Gparity"){
assert(i!=argc-1);
GRID_ASSERT(i!=argc-1);
gpdir = std::stoi(argv[i+1]);
assert(gpdir >= 0 && gpdir <= 2); //spatial!
GRID_ASSERT(gpdir >= 0 && gpdir <= 2); //spatial!
gparity = true;
}
}