Geant4  10.00.p01
G4GeomSplitter< T > Class Template Reference

#include <G4GeomSplitter.hh>

Public Member Functions

 G4GeomSplitter ()
 
G4int CreateSubInstance ()
 
void CopyMasterContents ()
 
void SlaveCopySubInstanceArray ()
 
void SlaveInitializeSubInstance ()
 
void SlaveReCopySubInstanceArray ()
 
void FreeSlave ()
 
T * GetOffset ()
 
void UseWorkArea (T *newOffset)
 
T * FreeWorkArea ()
 
void Destroy ()
 

Static Public Attributes

static G4GEOM_DLL G4ThreadLocal T * offset = 0
 

Private Attributes

G4int totalobj
 
G4int totalspace
 
T * sharedOffset
 

Detailed Description

template<class T>
class G4GeomSplitter< T >

Definition at line 50 of file G4GeomSplitter.hh.

Constructor & Destructor Documentation

template<class T >
G4GeomSplitter< T >::G4GeomSplitter ( )
inline

Definition at line 54 of file G4GeomSplitter.hh.

Member Function Documentation

template<class T >
void G4GeomSplitter< T >::CopyMasterContents ( )
inline

Definition at line 75 of file G4GeomSplitter.hh.

References G4GeomSplitter< T >::offset, G4GeomSplitter< T >::sharedOffset, and G4GeomSplitter< T >::totalspace.

Referenced by G4GeomSplitter< T >::SlaveCopySubInstanceArray(), and G4GeomSplitter< T >::SlaveReCopySubInstanceArray().

+ Here is the caller graph for this function:

template<class T >
G4int G4GeomSplitter< T >::CreateSubInstance ( )
inline

Definition at line 56 of file G4GeomSplitter.hh.

References FatalException, G4Exception(), G4GeomSplitter< T >::offset, realloc(), G4GeomSplitter< T >::sharedOffset, G4GeomSplitter< T >::totalobj, and G4GeomSplitter< T >::totalspace.

Referenced by G4LogicalVolume::G4LogicalVolume(), G4PolyconeSide::G4PolyconeSide(), G4PolyhedraSide::G4PolyhedraSide(), G4PVReplica::G4PVReplica(), G4Region::G4Region(), and G4VPhysicalVolume::G4VPhysicalVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class T >
void G4GeomSplitter< T >::Destroy ( void  )
inline

Definition at line 176 of file G4GeomSplitter.hh.

template<class T >
void G4GeomSplitter< T >::FreeSlave ( )
inline

Definition at line 128 of file G4GeomSplitter.hh.

References free(), and G4GeomSplitter< T >::offset.

Referenced by G4SolidsWorkspace::DestroyWorkspace(), and G4GeometryWorkspace::DestroyWorkspace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class T >
T* G4GeomSplitter< T >::FreeWorkArea ( )
inline

Definition at line 164 of file G4GeomSplitter.hh.

References G4GeomSplitter< T >::offset.

template<class T >
T* G4GeomSplitter< T >::GetOffset ( )
inline

Definition at line 139 of file G4GeomSplitter.hh.

References G4GeomSplitter< T >::offset.

Referenced by G4GeometryWorkspace::G4GeometryWorkspace(), and G4SolidsWorkspace::G4SolidsWorkspace().

+ Here is the caller graph for this function:

template<class T >
void G4GeomSplitter< T >::SlaveCopySubInstanceArray ( )
inline

Definition at line 80 of file G4GeomSplitter.hh.

References G4GeomSplitter< T >::CopyMasterContents(), FatalException, G4Exception(), G4GeomSplitter< T >::offset, realloc(), and G4GeomSplitter< T >::totalspace.

Referenced by G4PVReplica::InitialiseWorker(), G4VPhysicalVolume::InitialiseWorker(), G4LogicalVolume::InitialiseWorker(), and G4GeometryWorkspace::InitialiseWorkspace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class T >
void G4GeomSplitter< T >::SlaveInitializeSubInstance ( )
inline

Definition at line 94 of file G4GeomSplitter.hh.

References FatalException, G4Exception(), G4GeomSplitter< T >::offset, realloc(), and G4GeomSplitter< T >::totalspace.

Referenced by G4SolidsWorkspace::InitialiseWorkspace(), G4GeometryWorkspace::InitialiseWorkspace(), and G4GeomSplitter< T >::SlaveReCopySubInstanceArray().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class T >
void G4GeomSplitter< T >::SlaveReCopySubInstanceArray ( )
inline

Definition at line 114 of file G4GeomSplitter.hh.

References G4GeomSplitter< T >::CopyMasterContents(), G4Exception(), JustWarning, G4GeomSplitter< T >::offset, and G4GeomSplitter< T >::SlaveInitializeSubInstance().

+ Here is the call graph for this function:

template<class T >
void G4GeomSplitter< T >::UseWorkArea ( T *  newOffset)
inline

Definition at line 141 of file G4GeomSplitter.hh.

References FatalException, G4Exception(), JustWarning, and G4GeomSplitter< T >::offset.

Referenced by G4SolidsWorkspace::ReleaseWorkspace(), G4GeometryWorkspace::ReleaseWorkspace(), G4GeometryWorkspace::UseWorkspace(), and G4SolidsWorkspace::UseWorkspace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

template<class T >
T* G4GeomSplitter< T >::sharedOffset
private
template<class T >
G4int G4GeomSplitter< T >::totalobj
private

Definition at line 187 of file G4GeomSplitter.hh.

Referenced by G4GeomSplitter< T >::CreateSubInstance().


The documentation for this class was generated from the following files: