Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2024-08-21 Gabriele Cosmo (hadr-qmd-V11-02-02, 01)
|
||||
- Fixed reported Coverity defects for use of std::move() and const std::string&.
|
||||
|
||||
## 2023-12-21 Yoshihide Sato (hadr-qmd-V11-02-00)
|
||||
- G4LightIonQMDReaction.cc: Fix model ID (model_LightIonQMDModel).
|
||||
|
||||
|
||||
@@ -747,7 +747,7 @@ std::vector< G4LightIonQMDNucleus* > G4LightIonQMDMeanField::DoClusterJudgment()
|
||||
clusters_tmp.insert ( std::multimap<G4int,G4int>::value_type ( it->first , it->second ) );
|
||||
}
|
||||
}
|
||||
clusters = clusters_tmp;
|
||||
clusters = std::move(clusters_tmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ G4QMDGroundStateNucleus::G4QMDGroundStateNucleus( G4int z , G4int a )
|
||||
|
||||
//edepth = 0.0;
|
||||
|
||||
for ( int i = 0 ; i < a ; i++ )
|
||||
for ( G4int i = 0 ; i < a ; ++i )
|
||||
{
|
||||
|
||||
G4ParticleDefinition* pd;
|
||||
@@ -109,7 +109,7 @@ G4QMDGroundStateNucleus::G4QMDGroundStateNucleus( G4int z , G4int a )
|
||||
|
||||
}
|
||||
|
||||
G4double radious = r00 * G4Pow::GetInstance()->A13( double ( GetMassNumber() ) );
|
||||
G4double radious = r00 * G4Pow::GetInstance()->A13( G4double ( GetMassNumber() ) );
|
||||
|
||||
rt00 = radious - r01;
|
||||
radm = radious - rada * ( gamm - 1.0 ) + radb;
|
||||
|
||||
@@ -674,7 +674,7 @@ std::vector< G4QMDNucleus* > G4QMDMeanField::DoClusterJudgment()
|
||||
clusters_tmp.insert(std::multimap<G4int,G4int>::value_type(it->first, it->second));
|
||||
}
|
||||
}
|
||||
clusters = clusters_tmp;
|
||||
clusters = std::move(clusters_tmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user