Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -117,6 +117,10 @@ SetupRNGEngine(const CLHEP::HepRandomEngine* aNewRNG) const
|
||||
{
|
||||
retRNG = new CLHEP::RanecuEngine;
|
||||
}
|
||||
if(dynamic_cast<const CLHEP::RanluxppEngine*>(aNewRNG))
|
||||
{
|
||||
retRNG = new CLHEP::RanluxppEngine;
|
||||
}
|
||||
if(dynamic_cast<const CLHEP::Ranlux64Engine*>(aNewRNG))
|
||||
{
|
||||
const CLHEP::Ranlux64Engine* theRNG =
|
||||
@@ -152,7 +156,7 @@ SetupRNGEngine(const CLHEP::HepRandomEngine* aNewRNG) const
|
||||
G4ExceptionDescription msg;
|
||||
msg << " Unknown type of RNG Engine - " << G4endl
|
||||
<< " Can cope only with HepJamesRandom, MixMaxRng, Ranecu, Ranlux64,"
|
||||
<< " MTwistEngine, DualRand, Ranlux or Ranshi." << G4endl
|
||||
<< " Ranlux++, MTwistEngine, DualRand, Ranlux or Ranshi." << G4endl
|
||||
<< " Cannot clone this type of RNG engine, as required for this thread"
|
||||
<< G4endl << " Aborting " << G4endl;
|
||||
G4Exception("G4UserWorkerThreadInitialization::SetupRNGEngine()",
|
||||
|
||||
Reference in New Issue
Block a user