55 G4Exception(
"GeometryWorspacePool::CreateWorkspace",
"Geom-003",
61 G4Exception(
"GeometryWorspacePool::CreateWorkspace",
"Geom-003",
63 "Cannot create workspace twice for the same thread.");
91 void G4GeometryWorkspacePool::ReleaseAndDestroyMyWorkspace()
G4GeometryWorkspacePool()
~G4GeometryWorkspacePool()
#define G4MUTEX_INITIALIZER
void ReleaseAndDestroyWorkspace(G4GeometryWorkspace *)
G4GeometryWorkspace * FindOrCreateWorkspace()
static G4ThreadLocal G4GeometryWorkspace * fMyWorkspace
void CleanUpAndDestroyAllWorkspaces()
G4GeometryWorkspace * CreateWorkspace()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4GeometryWorkspacePool * thePool
static G4GeometryWorkspacePool * GetInstance()
void CreateAndUseWorkspace()
void Recycle(G4GeometryWorkspace *)