Geant4
10.01.p02
|
#include <G4MTRunManagerKernel.hh>
Static Public Member Functions | |
static void * | StartThread (void *context) |
static G4WorkerThread * | GetWorkerThread () |
Static Public Member Functions inherited from G4RunManagerKernel | |
static G4RunManagerKernel * | GetRunManagerKernel () |
Protected Member Functions | |
void | SetupShadowProcess () const |
Protected Member Functions inherited from G4RunManagerKernel | |
G4RunManagerKernel (RMKType rmkType) | |
void | SetupDefaultRegion () |
void | SetupPhysics () |
void | ResetNavigator () |
void | BuildPhysicsTables (G4bool fakeRun) |
void | CheckRegions () |
void | PropagateGenericIonID () |
Static Private Attributes | |
static G4ThreadLocal G4WorkerThread * | wThreadContext = 0 |
static std::vector < G4WorkerRunManager * > * | workerRMvector = 0 |
Additional Inherited Members | |
Public Types inherited from G4RunManagerKernel | |
enum | RMKType { sequentialRMK, masterRMK, workerRMK } |
Protected Attributes inherited from G4RunManagerKernel | |
RMKType | runManagerKernelType |
G4Region * | defaultRegion |
G4Region * | defaultRegionForParallelWorld |
G4bool | geometryNeedsToBeClosed |
Definition at line 65 of file G4MTRunManagerKernel.hh.
G4MTRunManagerKernel::G4MTRunManagerKernel | ( | ) |
Definition at line 38 of file G4MTRunManagerKernel.cc.
References FatalException, G4Exception(), G4Threading::SetMultithreadedApplication(), and workerRMvector.
|
virtual |
Definition at line 52 of file G4MTRunManagerKernel.cc.
References FatalException, G4Exception(), and workerRMvector.
void G4MTRunManagerKernel::BroadcastAbortRun | ( | G4bool | softAbort | ) |
Definition at line 389 of file G4MTRunManagerKernel.cc.
References workerRMvector.
Referenced by G4MTRunManager::AbortRun().
|
static |
Definition at line 99 of file G4MTRunManagerKernel.cc.
References wThreadContext.
void G4MTRunManagerKernel::SetUpDecayChannels | ( | ) |
Definition at line 372 of file G4MTRunManagerKernel.cc.
References G4DecayTable::entries(), G4VDecayChannel::GetDaughter(), G4DecayTable::GetDecayChannel(), G4ParticleTable::GetIterator(), G4ParticleTable::GetParticleTable(), G4ParticleTableIterator< K, V >::reset(), and G4ParticleTableIterator< K, V >::value().
Referenced by G4MTRunManager::InitializeEventLoop().
|
protectedvirtual |
Reimplemented from G4RunManagerKernel.
Definition at line 69 of file G4MTRunManagerKernel.cc.
References G4RunManagerKernel::SetupShadowProcess().
|
static |
!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! IMPORTANT !!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 102 of file G4MTRunManagerKernel.cc.
References G4UImanager::ApplyCommand(), G4RunManager::BeamOn(), G4VUserActionInitialization::Build(), G4WorkerThread::BuildGeometryAndPhysicsVector(), G4UserWorkerThreadInitialization::CreateWorkerRunManager(), G4WorkerThread::DestroyGeometryAndPhysicsVector(), G4MTRunManager::ENDWORKER, FatalException, G4cout, G4endl, G4Exception(), G4Threading::G4GetNumberOfCores(), G4Threading::G4SetPinAffinity(), G4Threading::G4SetThreadId(), G4ThreadLocal, G4THREADSELF, G4MTRunManager::GetCommandStack(), G4MTRunManager::getMasterRandomEngine(), G4MTRunManager::GetMasterRunManager(), G4RunManager::GetNonConstUserActionInitialization(), G4RunManager::GetNumberOfEventsToBeProcessed(), G4RunManager::GetNumberOfSelectEvents(), G4MTRunManager::GetPinAffinity(), G4RunManager::GetSelectMacro(), G4WorkerThread::GetThreadId(), G4UImanager::GetUIpointer(), G4RunManager::GetUserActionInitialization(), G4RunManager::GetUserDetectorConstruction(), G4RunManager::GetUserPhysicsList(), G4RunManager::GetUserWorkerInitialization(), G4RunManager::GetUserWorkerThreadInitialization(), G4RunManager::Initialize(), G4VUserActionInitialization::InitializeSteppingVerbose(), JustWarning, G4TemplateAutoLock< M, L, U >::lock(), G4MTRunManager::NEXTITERATION, G4VSteppingVerbose::SetInstance(), G4UImanager::SetUpForAThread(), G4UserWorkerThreadInitialization::SetupRNGEngine(), G4WorkerRunManager::SetUserInitialization(), G4WorkerRunManager::SetWorkerThread(), G4MTRunManager::ThisWorkerWaitForNextAction(), G4TemplateAutoLock< M, L, U >::unlock(), G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster(), G4UserWorkerInitialization::WorkerInitialize(), workerRMvector, G4UserWorkerInitialization::WorkerStart(), G4UserWorkerInitialization::WorkerStop(), and wThreadContext.
|
staticprivate |
Definition at line 92 of file G4MTRunManagerKernel.hh.
Referenced by BroadcastAbortRun(), G4MTRunManagerKernel(), StartThread(), and ~G4MTRunManagerKernel().
|
staticprivate |
Definition at line 81 of file G4MTRunManagerKernel.hh.
Referenced by GetWorkerThread(), and StartThread().