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:
@ -67,5 +67,5 @@ void TRandom::execute(void)
|
||||
LOG(Message) << "Generating random gauge configuration" << std::endl;
|
||||
|
||||
auto &U = envGet(LatticeGaugeField, getName());
|
||||
SU3::HotConfiguration(*env().get4dRng(), U);
|
||||
SU3::HotConfiguration(rng4d(), U);
|
||||
}
|
||||
|
@ -81,5 +81,5 @@ void TStochEm::execute(void)
|
||||
<< par().zmScheme << ")..." << std::endl;
|
||||
photon.StochasticWeight(w);
|
||||
}
|
||||
photon.StochasticField(a, *env().get4dRng(), w);
|
||||
photon.StochasticField(a, rng4d(), w);
|
||||
}
|
||||
|
@ -65,5 +65,5 @@ void TUnit::execute(void)
|
||||
LOG(Message) << "Creating unit gauge configuration" << std::endl;
|
||||
|
||||
auto &U = envGet(LatticeGaugeField, getName());
|
||||
SU3::ColdConfiguration(*env().get4dRng(), U);
|
||||
SU3::ColdConfiguration(rng4d(), U);
|
||||
}
|
||||
|
Reference in New Issue
Block a user