Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -65,33 +65,32 @@
|
||||
class G4UserWorkerInitialization
|
||||
{
|
||||
public:
|
||||
G4UserWorkerInitialization() = default;
|
||||
virtual ~G4UserWorkerInitialization() = default;
|
||||
|
||||
G4UserWorkerInitialization();
|
||||
virtual ~G4UserWorkerInitialization();
|
||||
// This method is called after the tread is created but before the
|
||||
// G4WorkerRunManager is instantiated.
|
||||
virtual void WorkerInitialize() const {}
|
||||
|
||||
virtual void WorkerInitialize() const;
|
||||
// This method is called after the tread is created but before the
|
||||
// G4WorkerRunManager is instantiated.
|
||||
// This method is called once at the beginning of simulation job
|
||||
// when kernel classes and user action classes have already instantiated
|
||||
// but geometry and physics have not been yet initialised. This situation
|
||||
// is identical to 'PreInit' state in the sequential mode.
|
||||
virtual void WorkerStart() const {}
|
||||
|
||||
virtual void WorkerStart() const;
|
||||
// This method is called once at the beginning of simulation job
|
||||
// when kernel classes and user action classes have already instantiated
|
||||
// but geometry and physics have not been yet initialised. This situation
|
||||
// is identical to 'PreInit' state in the sequential mode.
|
||||
// This method is called before an event loop. Geometry and physics have
|
||||
// already been set up for the thread. All threads are synchronised and
|
||||
// ready to start the local event loop. This situation is identical to
|
||||
// 'Idle' state in the sequential mode.
|
||||
virtual void WorkerRunStart() const {}
|
||||
|
||||
virtual void WorkerRunStart() const;
|
||||
// This method is called before an event loop. Geometry and physics have
|
||||
// already been set up for the thread. All threads are synchronised and
|
||||
// ready to start the local event loop. This situation is identical to
|
||||
// 'Idle' state in the sequential mode.
|
||||
// This method is called for each thread, when the local event loop has
|
||||
// finished but before the synchronisation over threads.
|
||||
virtual void WorkerRunEnd() const {}
|
||||
|
||||
virtual void WorkerRunEnd() const;
|
||||
// This method is called for each thread, when the local event loop has
|
||||
// finished but before the synchronisation over threads.
|
||||
|
||||
virtual void WorkerStop() const;
|
||||
// This method is called once at the end of simulation job.
|
||||
// Implement here a clean up action.
|
||||
// This method is called once at the end of simulation job.
|
||||
// Implement here a clean up action.
|
||||
virtual void WorkerStop() const {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user