1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

More random bits on parallel seeding

This commit is contained in:
azusayamaguchi 2016-10-25 01:05:52 +01:00
parent d97a27f483
commit 8f8058f8a5

View File

@ -296,9 +296,10 @@ namespace Grid {
_grid->GlobalCoorToRankIndex(rank,o_idx,i_idx,gcoor);
int l_idx=generator_idx(o_idx,i_idx);
std::vector<int> site_seeds(4);
for(int i=0;i<4;i++){
const int num_rand_seed=16;
std::vector<int> site_seeds(num_rand_seed);
for(int i=0;i<site_seeds.size();i++){
site_seeds[i]= ui(pseeder);
}