1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 22:07:05 +01:00

Rework of RNG to use C++11 random. Should work correctly maintaining parallel RNG across

a machine. If a "fixedSeed" is used, randoms should be reproducible across different machine
decomposition since the generators are physically indexed and assigned in lexico ordering.
This commit is contained in:
Peter Boyle
2015-04-19 14:55:58 +01:00
parent f6ab726cef
commit 42f167ea37
7 changed files with 191 additions and 55 deletions

View File

@ -9,6 +9,10 @@ namespace Grid {
assert(lhs._grid == rhs._grid);
assert(lhs.checkerboard == rhs.checkerboard);
}
void inline conformable(const GridBase *lhs,GridBase *rhs)
{
assert(lhs == rhs);
}
}
#endif