mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 15:27:06 +01:00
Hadrons: module RNG uniquely seeded with <run id> + <module name> + <trajectory>
This commit is contained in:
@ -149,7 +149,7 @@ void TZ2<FImpl>::execute(void)
|
||||
hasT_ = true;
|
||||
}
|
||||
envGetTmp(LatticeComplex, eta);
|
||||
bernoulli(*env().get4dRng(), eta);
|
||||
bernoulli(rng4d(), eta);
|
||||
eta = (2.*eta - shift)*(1./::sqrt(2.));
|
||||
eta = where((t >= par().tA) and (t <= par().tB), eta, 0.*eta);
|
||||
src = 1.;
|
||||
|
Reference in New Issue
Block a user