1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-06-04 11:14:38 +01:00

Test_extended_meson_field: add --Ni and --Nj command line options

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Boyle
2026-05-27 22:46:11 -04:00
parent 377db1bc08
commit 5b58d1da62
+5
View File
@@ -710,6 +710,11 @@ int main(int argc, char *argv[])
int N_j = 8; int N_j = 8;
int Nloop = 4; int Nloop = 4;
if (GridCmdOptionExists(argv, argv+argc, "--Ni"))
N_i = std::stoi(GridCmdOptionPayload(argv, argv+argc, "--Ni"));
if (GridCmdOptionExists(argv, argv+argc, "--Nj"))
N_j = std::stoi(GridCmdOptionPayload(argv, argv+argc, "--Nj"));
GridParallelRNG pRNG(&grid); GridParallelRNG pRNG(&grid);
pRNG.SeedFixedIntegers({1, 2, 3, 4}); pRNG.SeedFixedIntegers({1, 2, 3, 4});