Geant4-11
|
#include <G4VUPLSplitter.hh>
Public Member Functions | |
G4int | CreateSubInstance () |
T * | FreeWorkArea () |
void | FreeWorker () |
G4VUPLSplitter () | |
T * | GetOffset () |
void | NewSubInstances () |
void | UseWorkArea (T *newOffset) |
void | WorkerCopySubInstanceArray () |
Data Fields | |
G4RUN_DLL G4ThreadLocalStatic T * | offset = nullptr |
G4RUN_DLL G4ThreadLocalStatic G4int | workertotalspace = 0 |
Private Attributes | |
G4Mutex | mutex |
T * | sharedOffset = nullptr |
G4int | totalobj = 0 |
G4int | totalspace = 0 |
Definition at line 62 of file G4VUPLSplitter.hh.
|
inline |
Definition at line 66 of file G4VUPLSplitter.hh.
References G4MUTEXINIT.
|
inline |
Definition at line 71 of file G4VUPLSplitter.hh.
References G4TemplateAutoLock< _Mutex_t >::lock(), G4VUPLSplitter< T >::NewSubInstances(), G4VUPLSplitter< T >::offset, G4VUPLSplitter< T >::sharedOffset, G4VUPLSplitter< T >::totalobj, G4VUPLSplitter< T >::totalspace, G4TemplateAutoLock< _Mutex_t >::unlock(), and G4VUPLSplitter< T >::workertotalspace.
Referenced by G4VModularPhysicsList::G4VModularPhysicsList(), G4VPhysicsConstructor::G4VPhysicsConstructor(), G4VUserPhysicsList::G4VUserPhysicsList(), and G4VModularPhysicsList::operator=().
|
inline |
Definition at line 150 of file G4VUPLSplitter.hh.
References G4VUPLSplitter< T >::offset.
|
inline |
Definition at line 123 of file G4VUPLSplitter.hh.
References free, and G4VUPLSplitter< T >::offset.
Referenced by G4PhysicsListWorkspace::DestroyWorkspace().
|
inline |
Definition at line 134 of file G4VUPLSplitter.hh.
References G4VUPLSplitter< T >::offset.
Referenced by G4PhysicsListWorkspace::G4PhysicsListWorkspace().
|
inline |
Definition at line 94 of file G4VUPLSplitter.hh.
References FatalException, G4Exception(), G4VUPLSplitter< T >::offset, G4VUPLSplitter< T >::totalobj, and G4VUPLSplitter< T >::workertotalspace.
Referenced by G4VUPLSplitter< T >::CreateSubInstance(), and G4PhysicsListWorkspace::InitialiseWorkspace().
|
inline |
Definition at line 136 of file G4VUPLSplitter.hh.
References FatalException, G4Exception(), and G4VUPLSplitter< T >::offset.
Referenced by G4PhysicsListWorkspace::ReleaseWorkspace(), and G4PhysicsListWorkspace::UseWorkspace().
|
inline |
Definition at line 161 of file G4VUPLSplitter.hh.
References FatalException, G4Exception(), G4VUPLSplitter< T >::offset, G4VUPLSplitter< T >::sharedOffset, and G4VUPLSplitter< T >::totalspace.
Referenced by G4PhysicsListWorkspace::InitialiseWorkspace().
|
private |
Definition at line 195 of file G4VUPLSplitter.hh.
G4ThreadLocal T * G4VUPLSplitter< T >::offset = nullptr |
Definition at line 187 of file G4VUPLSplitter.hh.
Referenced by G4VPhysicsConstructor::AddBuilder(), G4VUPLSplitter< T >::CreateSubInstance(), G4VUPLSplitter< T >::FreeWorkArea(), G4VUPLSplitter< T >::FreeWorker(), G4VUserPhysicsList::G4VUserPhysicsList(), G4VPhysicsConstructor::GetBuilders(), G4VUPLSplitter< T >::GetOffset(), G4VPhysicsConstructor::GetParticleIterator(), G4VUserPhysicsList::GetParticleIterator(), G4VUPLSplitter< T >::NewSubInstances(), G4VModularPhysicsList::operator=(), G4VUserPhysicsList::operator=(), G4VPhysicsConstructor::TerminateWorker(), G4VUPLSplitter< T >::UseWorkArea(), and G4VUPLSplitter< T >::WorkerCopySubInstanceArray().
|
private |
Definition at line 194 of file G4VUPLSplitter.hh.
Referenced by G4VUPLSplitter< T >::CreateSubInstance(), and G4VUPLSplitter< T >::WorkerCopySubInstanceArray().
|
private |
Definition at line 192 of file G4VUPLSplitter.hh.
Referenced by G4VUPLSplitter< T >::CreateSubInstance(), and G4VUPLSplitter< T >::NewSubInstances().
|
private |
Definition at line 193 of file G4VUPLSplitter.hh.
Referenced by G4VUPLSplitter< T >::CreateSubInstance(), and G4VUPLSplitter< T >::WorkerCopySubInstanceArray().
G4ThreadLocal G4int G4VUPLSplitter< T >::workertotalspace = 0 |
Definition at line 185 of file G4VUPLSplitter.hh.
Referenced by G4VUPLSplitter< T >::CreateSubInstance(), and G4VUPLSplitter< T >::NewSubInstances().