Geant4
10.02
|
G4ITStepManager enables to synchronize in time the step of tracks. More...
#include <G4Scheduler.hh>
Static Public Member Functions | |
static G4Scheduler * | Instance () |
static void | DeleteInstance () |
DeleteInstance should be used instead of the destructor. More... | |
Static Public Member Functions inherited from G4VScheduler | |
static G4VScheduler * | Instance () |
Protected Member Functions | |
virtual | ~G4Scheduler () |
void | DoProcess () |
void | SynchronizeTracks () |
void | Stepping () |
void | FindUserPreDefinedTimeStep () |
bool | CanICarryOn () |
void | PrintWhyDoYouStop () |
Protected Member Functions inherited from G4VScheduler | |
G4VScheduler () | |
virtual | ~G4VScheduler () |
Private Member Functions | |
G4Scheduler () | |
void | Create () |
G4Scheduler (const G4Scheduler &) | |
G4Scheduler & | operator= (const G4Scheduler &) |
Static Private Attributes | |
static G4ThreadLocal G4Scheduler * | fgScheduler |
G4ITStepManager enables to synchronize in time the step of tracks.
Definition at line 94 of file G4Scheduler.hh.
|
protectedvirtual |
Definition at line 201 of file G4Scheduler.cc.
References Clear(), fgScheduler, and fpMessenger.
|
private |
Definition at line 133 of file G4Scheduler.cc.
References Create().
|
private |
Definition at line 1122 of file G4Scheduler.cc.
References Create().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 310 of file G4Scheduler.hh.
References fpUserTimeSteps, and fUsePreDefinedTimeSteps.
|
inline |
Definition at line 181 of file G4Scheduler.hh.
References fWatchedTimes.
|
inline |
Definition at line 443 of file G4Scheduler.hh.
References fUseDefaultTimeSteps, and fUsePreDefinedTimeSteps.
Referenced by G4SchedulerMessenger::GetCurrentValue().
|
protected |
Definition at line 549 of file G4Scheduler.cc.
References fContinue, fEndTime, fGlobalTime, fMaxSteps, and fNbSteps.
Referenced by SynchronizeTracks().
void G4Scheduler::Clear | ( | ) |
Definition at line 217 of file G4Scheduler.cc.
References ClearList(), fpMessenger, fpModelHandler, fpModelProcessor, fpStepProcessor, fpTrackingManager, fReactionSet, G4ITTypeManager::Instance(), and G4ITTypeManager::ReleaseRessource().
Referenced by ~G4Scheduler().
void G4Scheduler::ClearList | ( | ) |
Definition at line 265 of file G4Scheduler.cc.
References G4ITTrackHolder::Clear(), G4AllITFinder::DeleteInstance(), and fTrackContainer.
Referenced by Clear(), and Process().
|
private |
Definition at line 140 of file G4Scheduler.cc.
References DBL_MAX, eUndefined, fContinue, fDefaultMinTimeStep, fDefinedMinTimeStep, fEndTime, fGlobalTime, fILTimeStep, fInitialized, fInteractionStep, fITStepStatus, fMaxNZeroTimeStepsAllowed, fMaxSteps, fMaxTimeStep, fNbSteps, fpGun, fpMessenger, fpModelHandler, fpModelProcessor, fPreviousTimeStep, fpStepProcessor, fpTrackingInteractivity, fpTrackingManager, fpUserTimeStepAction, fpUserTimeSteps, fReachedUserTimeLimit, fReactionSet, fRunning, fStartTime, fStopTime, fTimeStep, fTimeTolerance, fTmpGlobalTime, fTSTimeStep, fUseDefaultTimeSteps, fUsePreDefinedTimeSteps, fUserUpperTimeLimit, fVerbose, fWhyDoYouStop, fZeroTimeCount, G4ITTypeManager::Instance(), G4ITReactionSet::Instance(), microsecond, picosecond, and G4ITTypeManager::ReserveRessource().
Referenced by G4Scheduler(), and operator=().
|
static |
DeleteInstance should be used instead of the destructor.
Definition at line 124 of file G4Scheduler.cc.
|
protected |
Definition at line 601 of file G4Scheduler.cc.
References fContinue, fGlobalTime, fMaxSteps, fNbSteps, fpUserTimeStepAction, fStopTime, fTrackContainer, fVerbose, G4BestUnit, G4cout, G4endl, G4ITTrackHolder::MainListsNOTEmpty(), G4MemStat::MemoryUsage(), G4UserTimeStepAction::NewStage(), PrintWhyDoYouStop(), and Stepping().
Referenced by SynchronizeTracks().
void G4Scheduler::EndTracking | ( | ) |
Definition at line 1061 of file G4Scheduler.cc.
References G4ManyFastLists< OBJECT >::begin(), G4ManyFastLists< OBJECT >::end(), G4ITTrackingManager::EndTrackingWOKill(), FatalErrorInArgument, fpTrackingManager, fRunning, fTrackContainer, G4endl, G4Exception(), G4ITTrackHolder::GetMainList(), G4ITTrackHolder::GetSecondariesList(), G4ITTrackHolder::MainListsNOTEmpty(), G4ITTrackHolder::MergeSecondariesWithMainList(), and G4ITTrackHolder::SecondaryListsNOTEmpty().
Referenced by Process().
|
protected |
Definition at line 1006 of file G4Scheduler.cc.
References FatalErrorInArgument, fDefinedMinTimeStep, fGlobalTime, fpUserTimeSteps, fTimeTolerance, and G4Exception().
void G4Scheduler::ForceReinitialization | ( | ) |
Definition at line 1115 of file G4Scheduler.cc.
References fInitialized, and Initialize().
void G4Scheduler::GetCollisionType | ( | G4String & | interactionType | ) |
Definition at line 1146 of file G4Scheduler.cc.
References eCollisionBetweenTracks, eInteractionWithMedium, and fITStepStatus.
Referenced by Stepping().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 341 of file G4Scheduler.hh.
References fEndTime.
Referenced by G4SchedulerMessenger::GetCurrentValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 356 of file G4Scheduler.hh.
References fGlobalTime.
Referenced by G4ITTrackHolder::_PushTrack().
|
inline |
Definition at line 428 of file G4Scheduler.hh.
References fpGun.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 418 of file G4Scheduler.hh.
References fpTrackingInteractivity.
|
virtual |
Reimplemented from G4VScheduler.
Definition at line 940 of file G4Scheduler.cc.
References fDefaultMinTimeStep, fDefinedMinTimeStep, fGlobalTime, fpUserTimeSteps, fStopTime, fTimeTolerance, and fUserUpperTimeLimit.
Referenced by Stepping().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 331 of file G4Scheduler.hh.
References fMaxSteps.
Referenced by G4SchedulerMessenger::GetCurrentValue().
|
inline |
Definition at line 194 of file G4Scheduler.hh.
References fMaxTimeStep.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 388 of file G4Scheduler.hh.
References fMaxNZeroTimeStepsAllowed.
Referenced by G4SchedulerMessenger::GetCurrentValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 293 of file G4Scheduler.hh.
References fpModelHandler.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 321 of file G4Scheduler.hh.
References fNbSteps.
double G4Scheduler::GetNextWatchedTime | ( | ) | const |
Definition at line 487 of file G4Scheduler.cc.
References DBL_MAX, fGlobalTime, and fWatchedTimes.
Referenced by SynchronizeTracks().
|
virtual |
Definition at line 1140 of file G4Scheduler.cc.
References fTrackContainer, and G4ITTrackHolder::GetNTracks().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 403 of file G4Scheduler.hh.
References fPreviousTimeStep.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 336 of file G4Scheduler.hh.
References fStartTime.
|
inline |
Definition at line 408 of file G4Scheduler.hh.
References fITStepStatus.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 346 of file G4Scheduler.hh.
References fTimeStep.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 398 of file G4Scheduler.hh.
References fTimeTolerance.
Referenced by G4ITTrackHolder::_PushTrack(), and G4SchedulerMessenger::GetCurrentValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 367 of file G4Scheduler.hh.
References fpUserTimeStepAction.
|
inline |
Definition at line 377 of file G4Scheduler.hh.
References fVerbose.
Referenced by G4SchedulerMessenger::GetCurrentValue().
|
virtual |
Reimplemented from G4VScheduler.
Definition at line 282 of file G4Scheduler.cc.
References FatalErrorInArgument, fInitialized, fpModelHandler, fpModelProcessor, fpStepProcessor, fpTrackingInteractivity, fpTrackingManager, fpUserTimeSteps, fUsePreDefinedTimeSteps, G4Exception(), G4ITTrackingManager::SetInteractivity(), G4ITModelProcessor::SetModelHandler(), G4ITModelProcessor::SetTrackingManager(), and G4ITStepProcessor::SetTrackingManager().
Referenced by ForceReinitialization(), G4DNAChemistryManager::InitializeThread(), Process(), and G4SchedulerMessenger::SetNewValue().
|
static |
Definition at line 102 of file G4Scheduler.cc.
Referenced by G4ITTrackHolder::_PushTrack(), G4MoleculeCounter::AddAMoleculeAtTime(), G4DNAChemistryManager::Gun(), G4DNAChemistryManager::InitializeMaster(), G4DNAChemistryManager::InitializeThread(), G4VScheduler::Instance(), G4MoleculeCounter::RemoveAMoleculeAtTime(), and G4DNAChemistryManager::Run().
|
inline |
Definition at line 288 of file G4Scheduler.hh.
References fInitialized.
Referenced by G4SchedulerMessenger::GetCurrentValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 114 of file G4Scheduler.hh.
References fRunning.
Referenced by G4ITTrackHolder::_PushTrack().
|
virtual |
Implements G4VStateDependent.
Definition at line 109 of file G4Scheduler.cc.
References JA::Clear(), G4cout, G4endl, and G4State_Quit.
|
private |
Definition at line 1131 of file G4Scheduler.cc.
References Create().
|
protected |
Definition at line 557 of file G4Scheduler.cc.
References fContinue, fGlobalTime, fMaxSteps, fNbSteps, fStopTime, fTrackContainer, fWhyDoYouStop, G4BestUnit, G4cout, G4endl, and G4ITTrackHolder::MainListsNOTEmpty().
Referenced by DoProcess().
|
virtual |
Reimplemented from G4VScheduler.
Definition at line 377 of file G4Scheduler.cc.
References ClearList(), G4ITGun::DefineTracks(), G4ITTrackHolder::DelayListsNOTEmpty(), G4UserTimeStepAction::EndProcessing(), EndTracking(), fGlobalTime, G4ITTrackingInteractivity::Finalize(), fInitialized, fpGun, fpModelProcessor, fpStepProcessor, fpTrackingInteractivity, fpUserTimeStepAction, fRunning, fStartTime, fTrackContainer, fVerbose, G4BestUnit, G4cout, G4endl, G4ITTrackHolder::GetNextTime(), G4ITTrackingInteractivity::Initialize(), G4ITModelProcessor::Initialize(), Initialize(), G4ITStepProcessor::Initialize(), Reset(), G4Timer::Start(), G4UserTimeStepAction::StartProcessing(), G4Timer::Stop(), and SynchronizeTracks().
Referenced by G4DNAChemistryManager::Run(), and G4SchedulerMessenger::SetNewValue().
|
virtual |
Reimplemented from G4VScheduler.
Definition at line 275 of file G4Scheduler.cc.
References fpModelHandler, and G4ITModelHandler::RegisterModel().
|
virtual |
Reimplemented from G4VScheduler.
Definition at line 357 of file G4Scheduler.cc.
References G4ITReactionSet::CleanAllReaction(), DBL_MAX, eUndefined, fContinue, fGlobalTime, fILTimeStep, fInteractionStep, fITStepStatus, fNbSteps, fPreviousTimeStep, fReactionSet, fStartTime, fTimeStep, fTSTimeStep, fUserUpperTimeLimit, and fZeroTimeCount.
Referenced by Process().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 351 of file G4Scheduler.hh.
References fDefaultMinTimeStep.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 298 of file G4Scheduler.hh.
References fEndTime.
Referenced by G4SchedulerMessenger::SetNewValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 423 of file G4Scheduler.hh.
References fpGun.
Referenced by G4DNAChemistryManager::Gun().
|
virtual |
Reimplemented from G4VScheduler.
Definition at line 1103 of file G4Scheduler.cc.
References fpTrackingInteractivity, fpTrackingManager, and G4ITTrackingManager::SetInteractivity().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 326 of file G4Scheduler.hh.
References fMaxSteps.
Referenced by G4SchedulerMessenger::SetNewValue().
|
inline |
Definition at line 188 of file G4Scheduler.hh.
References fMaxTimeStep.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 383 of file G4Scheduler.hh.
References fMaxNZeroTimeStepsAllowed.
Referenced by G4SchedulerMessenger::SetNewValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 304 of file G4Scheduler.hh.
References fpUserTimeSteps, and fUsePreDefinedTimeSteps.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 393 of file G4Scheduler.hh.
References fTimeTolerance.
Referenced by G4SchedulerMessenger::SetNewValue().
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 362 of file G4Scheduler.hh.
References fpUserTimeStepAction.
|
inlinevirtual |
Reimplemented from G4VScheduler.
Definition at line 372 of file G4Scheduler.hh.
References fVerbose.
Referenced by G4SchedulerMessenger::SetNewValue().
|
protected |
Definition at line 648 of file G4Scheduler.cc.
References G4ITModelProcessor::CalculateMinTimeStep(), G4ITReactionSet::CleanAllReaction(), G4ITStepProcessor::ComputeInteractionLength(), G4ITModelProcessor::ComputeTrackReaction(), DBL_MAX, G4ITStepProcessor::DoIt(), eCollisionBetweenTracks, eInteractionWithMedium, eUndefined, FatalErrorInArgument, fDefinedMinTimeStep, fGlobalTime, fILTimeStep, fInteractionStep, fITStepStatus, fMaxNZeroTimeStepsAllowed, fMaxTimeStep, fNbSteps, fpModelProcessor, fPreviousTimeStep, fpStepProcessor, fpUserTimeStepAction, fReachedUserTimeLimit, fReactionSet, fStopTime, fTimeStep, fTimeTolerance, fTSTimeStep, fUseDefaultTimeSteps, fUsePreDefinedTimeSteps, fVerbose, fZeroTimeCount, G4BestUnit, G4cout, G4endl, G4Exception(), GetCollisionType(), G4ITModelProcessor::GetComputeTimeStep(), GetLimitingTimeStep(), LIGHT_RED, G4MemStat::MemoryUsage(), G4ITStepProcessor::PrepareLeadingTracks(), RESET_COLOR, G4ITStepProcessor::ResetLeadingTracks(), G4UserTimeStepAction::UserPostTimeStepAction(), and G4UserTimeStepAction::UserPreTimeStepAction().
Referenced by DoProcess().
|
inline |
Definition at line 413 of file G4Scheduler.hh.
References fContinue.
|
protected |
Definition at line 496 of file G4Scheduler.cc.
References CanICarryOn(), DoProcess(), fEndTime, fGlobalTime, fStopTime, fTmpGlobalTime, fTrackContainer, G4ITTrackHolder::GetNextTime(), GetNextWatchedTime(), G4ITTrackHolder::MergeNextTimeToMainList(), and G4INCL::Math::min().
Referenced by Process().
|
inline |
Definition at line 438 of file G4Scheduler.hh.
References fUseDefaultTimeSteps.
Referenced by G4SchedulerMessenger::SetNewValue().
|
inline |
Definition at line 433 of file G4Scheduler.hh.
References fWhyDoYouStop.
Referenced by G4SchedulerMessenger::SetNewValue().
|
private |
Definition at line 224 of file G4Scheduler.hh.
Referenced by CanICarryOn(), Create(), DoProcess(), PrintWhyDoYouStop(), Reset(), and Stop().
|
private |
Definition at line 248 of file G4Scheduler.hh.
Referenced by Create(), GetLimitingTimeStep(), and SetDefaultTimeStep().
|
private |
Definition at line 252 of file G4Scheduler.hh.
Referenced by Create(), FindUserPreDefinedTimeStep(), GetLimitingTimeStep(), and Stepping().
|
private |
Definition at line 238 of file G4Scheduler.hh.
Referenced by CanICarryOn(), Create(), GetEndTime(), SetEndTime(), and SynchronizeTracks().
|
private |
Definition at line 234 of file G4Scheduler.hh.
Referenced by CanICarryOn(), Create(), DoProcess(), FindUserPreDefinedTimeStep(), GetGlobalTime(), GetLimitingTimeStep(), GetNextWatchedTime(), PrintWhyDoYouStop(), Process(), Reset(), Stepping(), and SynchronizeTracks().
|
staticprivate |
Definition at line 219 of file G4Scheduler.hh.
Referenced by ~G4Scheduler().
|
private |
Definition at line 273 of file G4Scheduler.hh.
Referenced by Create(), Reset(), and Stepping().
|
private |
Definition at line 222 of file G4Scheduler.hh.
Referenced by Create(), ForceReinitialization(), Initialize(), IsInitialized(), and Process().
|
private |
Definition at line 277 of file G4Scheduler.hh.
Referenced by Create(), Reset(), and Stepping().
|
private |
Definition at line 229 of file G4Scheduler.hh.
Referenced by Create(), GetCollisionType(), GetStatus(), Reset(), and Stepping().
|
private |
Definition at line 241 of file G4Scheduler.hh.
Referenced by Create(), GetMaxZeroTimeAllowed(), SetMaxZeroTimeAllowed(), and Stepping().
|
private |
Definition at line 227 of file G4Scheduler.hh.
Referenced by CanICarryOn(), Create(), DoProcess(), GetMaxNbSteps(), PrintWhyDoYouStop(), and SetMaxNbSteps().
|
private |
Definition at line 244 of file G4Scheduler.hh.
Referenced by Create(), GetMaxTimeStep(), SetMaxTimeStep(), and Stepping().
|
private |
Definition at line 226 of file G4Scheduler.hh.
Referenced by CanICarryOn(), Create(), DoProcess(), GetNbSteps(), PrintWhyDoYouStop(), Reset(), and Stepping().
|
private |
|
private |
Definition at line 217 of file G4Scheduler.hh.
Referenced by Clear(), Create(), and ~G4Scheduler().
|
private |
Definition at line 268 of file G4Scheduler.hh.
Referenced by Clear(), Create(), GetModelHandler(), Initialize(), and RegisterModel().
|
private |
Definition at line 263 of file G4Scheduler.hh.
Referenced by Clear(), Create(), Initialize(), Process(), and Stepping().
|
private |
Definition at line 239 of file G4Scheduler.hh.
Referenced by Create(), GetPreviousTimeStep(), Reset(), and Stepping().
|
private |
Definition at line 262 of file G4Scheduler.hh.
Referenced by Clear(), Create(), Initialize(), Process(), and Stepping().
|
private |
Definition at line 265 of file G4Scheduler.hh.
Referenced by Create(), GetInteractivity(), Initialize(), Process(), and SetInteractivity().
|
private |
Definition at line 264 of file G4Scheduler.hh.
Referenced by Clear(), Create(), EndTracking(), Initialize(), and SetInteractivity().
|
private |
Definition at line 258 of file G4Scheduler.hh.
Referenced by Create(), DoProcess(), GetUserTimeStepAction(), Process(), SetUserAction(), and Stepping().
|
private |
Definition at line 249 of file G4Scheduler.hh.
Referenced by AddTimeStep(), Create(), FindUserPreDefinedTimeStep(), GetLimitingTimeStep(), Initialize(), and SetTimeSteps().
|
private |
Definition at line 254 of file G4Scheduler.hh.
Referenced by Create(), and Stepping().
|
private |
Definition at line 266 of file G4Scheduler.hh.
Referenced by Clear(), Create(), Reset(), and Stepping().
|
private |
Definition at line 223 of file G4Scheduler.hh.
Referenced by Create(), EndTracking(), IsRunning(), and Process().
|
private |
Definition at line 236 of file G4Scheduler.hh.
Referenced by Create(), GetStartTime(), Process(), and Reset().
|
private |
Definition at line 237 of file G4Scheduler.hh.
Referenced by Create(), DoProcess(), GetLimitingTimeStep(), PrintWhyDoYouStop(), Stepping(), and SynchronizeTracks().
|
private |
Definition at line 243 of file G4Scheduler.hh.
Referenced by Create(), GetTimeStep(), Reset(), and Stepping().
|
private |
Definition at line 233 of file G4Scheduler.hh.
Referenced by Create(), FindUserPreDefinedTimeStep(), GetLimitingTimeStep(), GetTimeTolerance(), SetTimeTolerance(), and Stepping().
|
private |
Definition at line 235 of file G4Scheduler.hh.
Referenced by Create(), and SynchronizeTracks().
|
private |
Definition at line 267 of file G4Scheduler.hh.
Referenced by ClearList(), DoProcess(), EndTracking(), GetNTracks(), PrintWhyDoYouStop(), Process(), and SynchronizeTracks().
|
private |
Definition at line 271 of file G4Scheduler.hh.
Referenced by Create(), Reset(), and Stepping().
|
private |
Definition at line 232 of file G4Scheduler.hh.
Referenced by AreDefaultTimeStepsUsed(), Create(), Stepping(), and UseDefaultTimeSteps().
|
private |
Definition at line 247 of file G4Scheduler.hh.
Referenced by AddTimeStep(), AreDefaultTimeStepsUsed(), Create(), Initialize(), SetTimeSteps(), and Stepping().
|
mutableprivate |
Definition at line 251 of file G4Scheduler.hh.
Referenced by Create(), GetLimitingTimeStep(), and Reset().
|
private |
Definition at line 220 of file G4Scheduler.hh.
Referenced by Create(), DoProcess(), GetVerbose(), Process(), SetVerbose(), and Stepping().
|
private |
Definition at line 256 of file G4Scheduler.hh.
Referenced by AddWatchedTime(), and GetNextWatchedTime().
|
private |
Definition at line 221 of file G4Scheduler.hh.
Referenced by Create(), PrintWhyDoYouStop(), and WhyDoYouStop().
|
private |
Definition at line 240 of file G4Scheduler.hh.
Referenced by Create(), Reset(), and Stepping().