Import Geant4 11.4.0.beta source tree
This commit is contained in:
+4
-1
@@ -6,7 +6,10 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2025-02-25 John Apostolakis (run-V11-02-27)
|
||||
## 2025-06-10 Seth R Johnson (run-V11-03-01)
|
||||
- Clear surfaces in G4RunManager::ReinitializeGeometry
|
||||
|
||||
## 2025-02-25 John Apostolakis (run-V11-03-00)
|
||||
- Correct when G4WorkerRunManager's InitializeGeometry calls G4GeometryManager's
|
||||
UndertakeOptimisation to contribute to parallel voxelisation.
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#include "G4CopyRandomState.hh"
|
||||
#include "G4GeometryManager.hh"
|
||||
#include "G4HCofThisEvent.hh"
|
||||
#include "G4LogicalBorderSurface.hh"
|
||||
#include "G4LogicalSkinSurface.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4LogicalVolumeStore.hh"
|
||||
#include "G4MTRunManagerKernel.hh"
|
||||
@@ -1015,13 +1017,15 @@ void G4RunManager::ReinitializeGeometry(G4bool destroyFirst, G4bool prop)
|
||||
{
|
||||
if (destroyFirst && G4Threading::IsMasterThread()) {
|
||||
if (verboseLevel > 0) {
|
||||
G4cout << "#### Assemblies, Volumes and Solids Stores are wiped out." << G4endl;
|
||||
G4cout << "#### Assembly, Volume, Solid, and Surface Stores are being cleaned." << G4endl;
|
||||
}
|
||||
G4GeometryManager::GetInstance()->OpenGeometry();
|
||||
G4AssemblyStore::GetInstance()->Clean();
|
||||
G4PhysicalVolumeStore::GetInstance()->Clean();
|
||||
G4LogicalVolumeStore::GetInstance()->Clean();
|
||||
G4SolidStore::GetInstance()->Clean();
|
||||
G4LogicalSkinSurface::CleanSurfaceTable();
|
||||
G4LogicalBorderSurface::CleanSurfaceTable();
|
||||
|
||||
// remove all logical volume pointers from regions
|
||||
// exception: world logical volume pointer must be kept
|
||||
|
||||
Reference in New Issue
Block a user