Geant4
10.03
|
#include <G4WorkerThread.hh>
Public Member Functions | |
void | SetThreadId (G4int threadId) |
G4int | GetThreadId () const |
void | SetNumberThreads (G4int numnberThreads) |
G4int | GetNumberThreads () const |
void | SetPinAffinity (G4int aff) const |
Static Public Member Functions | |
static void | BuildGeometryAndPhysicsVector () |
static void | DestroyGeometryAndPhysicsVector () |
static void | UpdateGeometryAndPhysicsVectorFromMaster () |
Private Attributes | |
G4int | threadId |
G4int | numThreads |
Definition at line 42 of file G4WorkerThread.hh.
|
static |
Definition at line 57 of file G4WorkerThread.cc.
References G4SolidsWorkspacePool::CreateAndUseWorkspace(), G4TWorkspacePool< T >::CreateAndUseWorkspace(), G4GeometryWorkspacePool::CreateAndUseWorkspace(), G4SolidsWorkspacePool::GetInstance(), G4GeometryWorkspacePool::GetInstance(), G4ParticlesWorkspace::GetPool(), and G4PhysicsListWorkspace::GetPool().
Referenced by tbbTask::execute(), and G4MTRunManagerKernel::StartThread().
|
static |
Definition at line 70 of file G4WorkerThread.cc.
References G4SolidsWorkspace::DestroyWorkspace(), G4GeometryWorkspace::DestroyWorkspace(), G4SolidsWorkspacePool::GetInstance(), G4GeometryWorkspacePool::GetInstance(), G4ParticlesWorkspace::GetPool(), G4PhysicsListWorkspace::GetPool(), G4SolidsWorkspacePool::GetWorkspace(), G4TWorkspacePool< T >::GetWorkspace(), and G4GeometryWorkspacePool::GetWorkspace().
Referenced by G4MTRunManagerKernel::StartThread().
G4int G4WorkerThread::GetNumberThreads | ( | ) | const |
Definition at line 52 of file G4WorkerThread.cc.
References numThreads.
G4int G4WorkerThread::GetThreadId | ( | ) | const |
Definition at line 42 of file G4WorkerThread.cc.
References threadId.
Referenced by SetPinAffinity(), G4MTRunManagerKernel::StartThread(), and G4WorkerRunManager::StoreRNGStatus().
void G4WorkerThread::SetNumberThreads | ( | G4int | numnberThreads | ) |
Definition at line 47 of file G4WorkerThread.cc.
References numThreads.
Referenced by G4MTRunManager::CreateAndStartWorkers().
void G4WorkerThread::SetPinAffinity | ( | G4int | aff | ) | const |
Definition at line 206 of file G4WorkerThread.cc.
References G4cout, G4endl, G4Exception(), G4Threading::G4GetNumberOfCores(), G4Threading::G4SetPinAffinity(), G4THREADSELF, GetThreadId(), and JustWarning.
Referenced by G4MTRunManagerKernel::StartThread().
void G4WorkerThread::SetThreadId | ( | G4int | threadId | ) |
Definition at line 37 of file G4WorkerThread.cc.
References threadId.
Referenced by G4MTRunManager::CreateAndStartWorkers().
|
static |
Definition at line 101 of file G4WorkerThread.cc.
References G4SolidsWorkspace::DestroyWorkspace(), G4GeometryWorkspace::DestroyWorkspace(), G4Region::GetFastSimulationManager(), G4LogicalVolume::GetFieldManager(), G4SolidsWorkspacePool::GetInstance(), G4GeometryWorkspacePool::GetInstance(), G4LogicalVolumeStore::GetInstance(), G4RegionStore::GetInstance(), G4LogicalVolume::GetMasterFieldManager(), G4LogicalVolume::GetMasterSensitiveDetector(), G4Region::GetRegionalSteppingAction(), G4LogicalVolume::GetSensitiveDetector(), G4SolidsWorkspacePool::GetWorkspace(), G4GeometryWorkspacePool::GetWorkspace(), G4SolidsWorkspace::InitialiseWorkspace(), G4GeometryWorkspace::InitialiseWorkspace(), reg, second, G4Region::SetFastSimulationManager(), G4LogicalVolume::SetFieldManager(), G4Region::SetRegionalSteppingAction(), and G4LogicalVolume::SetSensitiveDetector().
Referenced by G4WorkerRunManager::DoWork().
|
private |
Definition at line 60 of file G4WorkerThread.hh.
Referenced by GetNumberThreads(), and SetNumberThreads().
|
private |
Definition at line 59 of file G4WorkerThread.hh.
Referenced by GetThreadId(), and SetThreadId().