Import Geant4 10.3.1 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4AdjointPrimaryGeneratorAction.cc 98735 2016-08-09 10:54:06Z gcosmo $
|
||||
// $Id: G4AdjointPrimaryGeneratorAction.cc 102566 2017-02-09 08:35:24Z gcosmo $
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Class Name: G4AdjointPrimaryGeneratorAction
|
||||
@@ -186,6 +186,7 @@ void G4AdjointPrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
|
||||
//Call some methods of G4AdjointSimManager
|
||||
G4AdjointSimManager::GetInstance()->SetAdjointTrackingMode(true);
|
||||
G4AdjointSimManager::GetInstance()->ClearEndOfAdjointTrackInfoVectors();
|
||||
G4AdjointSimManager::GetInstance()->ResetDidOneAdjPartReachExtSourceDuringEvent();
|
||||
|
||||
/* if ( !last_generated_part_was_adjoint ) {
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4AdjointSimManager.cc 98735 2016-08-09 10:54:06Z gcosmo $
|
||||
// $Id: G4AdjointSimManager.cc 102566 2017-02-09 08:35:24Z gcosmo $
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Class Name: G4AdjointCrossSurfChecker
|
||||
@@ -693,5 +693,10 @@ void G4AdjointSimManager::EndOfRunAction(const G4Run* aRun)
|
||||
G4ParticleDefinition* G4AdjointSimManager::GetLastGeneratedFwdPrimaryParticle(){
|
||||
return theAdjointPrimaryGeneratorAction->GetLastGeneratedFwdPrimaryParticle();
|
||||
}
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
void G4AdjointSimManager::ResetDidOneAdjPartReachExtSourceDuringEvent()
|
||||
{theAdjointSteppingAction->ResetDidOneAdjPartReachExtSourceDuringEvent();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4RunManagerKernel.cc 99767 2016-10-05 08:54:01Z gcosmo $
|
||||
// $Id: G4RunManagerKernel.cc 102620 2017-02-10 08:11:22Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -225,13 +225,15 @@ numberOfParallelWorld(0),geometryNeedsToBeClosed(true),
|
||||
<< G4endl;
|
||||
break;
|
||||
default:
|
||||
versionString = " Local thread RunManagerKernel version ";
|
||||
versionString += vs;
|
||||
G4cout << G4endl
|
||||
if(verboseLevel) {
|
||||
versionString = " Local thread RunManagerKernel version ";
|
||||
versionString += vs;
|
||||
G4cout << G4endl
|
||||
<< "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << G4endl
|
||||
<< versionString << G4endl
|
||||
<< "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" << G4endl
|
||||
<< G4endl;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
|
||||
Reference in New Issue
Block a user