Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -23,6 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// 081120 Add Update by T. Koi
//
#include "G4QMDMeanField.hh"
#include "G4QMDParameters.hh"
@@ -860,7 +862,7 @@ std::vector< G4QMDNucleus* > G4QMDMeanField::DoClusterJudgment()
= sorted_cluster_map.rbegin() ; it != sorted_cluster_map.rend() ; it ++)
{
//std::cout << "Add Participants to cluseter " << it->second << std::endl;
//G4cout << "Add Participants to cluseter " << it->second << G4endl;
if ( it->first != 0 )
{
@@ -872,7 +874,7 @@ std::vector< G4QMDNucleus* > G4QMDMeanField::DoClusterJudgment()
if ( it->second == itt->first )
{
nucleus->SetParticipant( system->GetParticipant ( itt->second ) );
//std::cout << "Add Participants " << itt->second << " " << system->GetParticipant ( itt->second )->GetPosition() << std::endl;
//G4cout << "Add Participants " << itt->second << " " << system->GetParticipant ( itt->second )->GetPosition() << G4endl;
}
}
@@ -892,3 +894,10 @@ std::vector< G4QMDNucleus* > G4QMDMeanField::DoClusterJudgment()
return result;
}
void G4QMDMeanField::Update()
{
SetSystem( system );
}