Import Geant4 11.3.1 source tree
This commit is contained in:
@@ -97,7 +97,6 @@
|
||||
|
||||
#include "G4AutoLock.hh"
|
||||
#include "G4Cache.hh"
|
||||
#include "G4Backtrace.hh"
|
||||
#include "G4Threading.hh"
|
||||
|
||||
#include <list>
|
||||
@@ -180,21 +179,7 @@ G4ThreadLocalSingleton<T>::G4ThreadLocalSingleton()
|
||||
{
|
||||
G4MUTEXINIT(listm);
|
||||
G4Cache<T*>::Put(nullptr);
|
||||
// Uncomment below to find the origin of where instantiation happened
|
||||
/*
|
||||
auto bt = G4Backtrace::GetDemangled<4, 1>(
|
||||
[](const char* cstr) { return std::string{ cstr }; });
|
||||
std::cout << "Backtrace to G4ThreadLocalSingleton<"
|
||||
<< G4Demangle<T>().c_str() << ">:\n";
|
||||
for(auto& itr : bt)
|
||||
{
|
||||
if(!itr.empty())
|
||||
std::cout << "\t" << itr << "\n";
|
||||
}
|
||||
*/
|
||||
G4ThreadLocalSingleton<void>::Insert([&]() {
|
||||
// printf("Deleting G4ThreadLocalSingletons for type %s ...\n",
|
||||
// G4Demangle<T>().c_str());
|
||||
this->Clear();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
/// |--> patch number (single digit)
|
||||
///
|
||||
#ifndef G4VERSION_NUMBER
|
||||
#define G4VERSION_NUMBER 1130
|
||||
#define G4VERSION_NUMBER 1131
|
||||
#endif
|
||||
|
||||
/// @def G4VERSION_REFERENCE_TAG
|
||||
@@ -55,11 +55,11 @@
|
||||
/// (taking December as 0, the start of new development of the next major/minor release).
|
||||
///
|
||||
#ifndef G4VERSION_REFERENCE_TAG
|
||||
#define G4VERSION_REFERENCE_TAG 00
|
||||
#define G4VERSION_REFERENCE_TAG -1
|
||||
#endif
|
||||
|
||||
#ifndef G4VERSION_TAG
|
||||
#define G4VERSION_TAG "$Name: geant4-11-03 $"
|
||||
#define G4VERSION_TAG "$Name: geant4-11-03-patch-01 $"
|
||||
#endif
|
||||
|
||||
// as variables
|
||||
@@ -68,10 +68,10 @@
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
static const G4String G4Version = "$Name: geant4-11-03 [MT]$";
|
||||
static const G4String G4Version = "$Name: geant4-11-03-patch-01 [MT]$";
|
||||
#else
|
||||
static const G4String G4Version = "$Name: geant4-11-03 $";
|
||||
static const G4String G4Version = "$Name: geant4-11-03-patch-01 $";
|
||||
#endif
|
||||
static const G4String G4Date = "(6-December-2024)";
|
||||
static const G4String G4Date = "(21-March-2025)";
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user