Geant4-11
|
#include <G4RunManagerFactory.hh>
Static Public Member Functions | |
static G4RunManager * | CreateRunManager (G4RunManagerType _type, G4bool fail_if_unavail, G4int nthreads=0, G4VUserTaskQueue *_queue=nullptr) |
static G4RunManager * | CreateRunManager (G4RunManagerType _type, G4int nthreads, G4bool fail_if_unavail=true, G4VUserTaskQueue *_queue=nullptr) |
static G4RunManager * | CreateRunManager (G4RunManagerType _type=G4RunManagerType::Default, G4VUserTaskQueue *_queue=nullptr, G4bool fail_if_unavail=true, G4int nthreads=0) |
template<typename... Args> | |
static G4RunManager * | CreateRunManager (std::string type, Args &&... args) |
static std::string | GetDefault () |
static G4RunManager * | GetMasterRunManager () |
static G4RunManagerKernel * | GetMasterRunManagerKernel () |
static G4MTRunManager * | GetMTMasterRunManager () |
static std::string | GetName (G4RunManagerType) |
static std::set< std::string > | GetOptions () |
static G4RunManagerType | GetType (const std::string &) |
Definition at line 65 of file G4RunManagerFactory.hh.
|
inlinestatic |
Definition at line 74 of file G4RunManagerFactory.hh.
References CreateRunManager().
|
inlinestatic |
Definition at line 82 of file G4RunManagerFactory.hh.
References CreateRunManager().
|
static |
Definition at line 63 of file G4RunManagerFactory.cc.
References Default, anonymous_namespace{G4RunManagerFactory.cc}::fail(), G4ConsumeParameters(), GetDefault(), GetName(), GetOptions(), GetType(), G4RunManager::kernel, anonymous_namespace{G4RunManagerFactory.cc}::master_run_manager, anonymous_namespace{G4RunManagerFactory.cc}::master_run_manager_kernel, MT, anonymous_namespace{G4RunManagerFactory.cc}::mt_master_run_manager, MTOnly, Serial, SerialOnly, G4MTRunManager::SetNumberOfThreads(), Tasking, TaskingOnly, TBB, and TBBOnly.
Referenced by CreateRunManager().
|
inlinestatic |
Definition at line 91 of file G4RunManagerFactory.hh.
References args, CreateRunManager(), and GetType().
|
static |
Definition at line 171 of file G4RunManagerFactory.cc.
Referenced by CreateRunManager().
|
static |
Definition at line 248 of file G4RunManagerFactory.cc.
References GetMTMasterRunManager(), G4RunManager::GetRunManager(), G4Threading::IsMultithreadedApplication(), and anonymous_namespace{G4RunManagerFactory.cc}::master_run_manager.
Referenced by G4VisManager::BeginOfRun(), G4TrajectoriesModel::DescribeYourselfTo(), G4VisManager::Draw(), G4VisManager::EndOfEvent(), G4VisManager::EndOfRun(), G4VisCommandSceneAddEventID::EventID::operator()(), G4VSceneHandler::ProcessScene(), G4OpenGLSceneHandler::ScaledFlush(), G4VisCommandReviewKeptEvents::SetNewValue(), and G4VisCommandSceneEndOfEventAction::SetNewValue().
|
static |
Definition at line 295 of file G4RunManagerFactory.cc.
References GetMTMasterRunManager(), G4RunManager::GetRunManager(), G4Threading::IsMultithreadedApplication(), G4RunManager::kernel, and anonymous_namespace{G4RunManagerFactory.cc}::master_run_manager_kernel.
|
static |
Definition at line 273 of file G4RunManagerFactory.cc.
References G4MTRunManager::GetMasterRunManager(), G4TaskRunManager::GetMasterRunManager(), G4Threading::IsMultithreadedApplication(), and anonymous_namespace{G4RunManagerFactory.cc}::mt_master_run_manager.
Referenced by G4TheMTRayTracer::CreateBitMap(), GetMasterRunManager(), GetMasterRunManagerKernel(), G4TheMTRayTracer::RestoreUserActions(), and G4TheMTRayTracer::StoreUserActions().
|
static |
Definition at line 220 of file G4RunManagerFactory.cc.
References MT, MTOnly, Serial, SerialOnly, Tasking, TaskingOnly, TBB, and TBBOnly.
Referenced by CreateRunManager().
|
static |
Definition at line 184 of file G4RunManagerFactory.cc.
Referenced by CreateRunManager().
|
static |
Definition at line 201 of file G4RunManagerFactory.cc.
References Default, MT, Serial, Tasking, and TBB.
Referenced by CreateRunManager().