File indexing completed on 2025-01-18 09:59:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 #ifndef G4ITTIMESTEPPER_HH_
0034 #define G4ITTIMESTEPPER_HH_
0035
0036 #include "globals.hh"
0037 #include "tls.hh"
0038 #include <map>
0039
0040 class G4VITStepModel;
0041 class G4ITModelHandler;
0042 class G4UserTimeStepAction;
0043 class G4ITGun;
0044 class G4ITTrackingInteractivity;
0045
0046 class G4VScheduler
0047 {
0048 protected:
0049 G4VScheduler();
0050 virtual ~G4VScheduler();
0051 private:
0052 static G4ThreadLocal G4VScheduler* fpInstance;
0053
0054 public:
0055 static G4VScheduler* Instance();
0056 virtual void Initialize(){;}
0057 virtual void Reset(){;}
0058
0059 virtual void SetVerbose(int){;}
0060
0061 virtual void SetGun(G4ITGun*){;}
0062
0063 virtual void Process();
0064
0065 virtual G4bool IsRunning(){ return false; }
0066
0067 virtual G4ITModelHandler* GetModelHandler(){ return nullptr; }
0068
0069 virtual void RegisterModel(G4VITStepModel*, double){;}
0070
0071 virtual void SetEndTime(const double){;}
0072
0073 virtual void SetTimeTolerance(double){;}
0074
0075
0076 virtual double GetTimeTolerance() const{ return -1;}
0077
0078 virtual void SetMaxZeroTimeAllowed(int){;}
0079 virtual int GetMaxZeroTimeAllowed() const{ return -1;}
0080
0081 virtual void SetTimeSteps(std::map<double, double>*){;}
0082 virtual void AddTimeStep(double , double ){;}
0083 virtual void SetDefaultTimeStep(double){;}
0084 virtual double GetLimitingTimeStep() const {return -1;}
0085 virtual G4int GetNbSteps() const {return -1;}
0086 virtual void SetMaxNbSteps(G4int) {;}
0087 virtual G4int GetMaxNbSteps() const {return 0;}
0088 virtual G4double GetStartTime() const {return -1;}
0089 virtual G4double GetEndTime() const {return -1;}
0090 virtual G4double GetTimeStep() const {return -1;}
0091 virtual G4double GetPreviousTimeStep() const {return -1;}
0092 virtual G4double GetGlobalTime() const {return -1;}
0093
0094 virtual void SetUserAction(G4UserTimeStepAction*) {;}
0095 virtual G4UserTimeStepAction* GetUserTimeStepAction() const {return nullptr;}
0096
0097 virtual void SetInteractivity(G4ITTrackingInteractivity*){;}
0098 virtual G4ITTrackingInteractivity* GetInteractivity() {return nullptr;}
0099 };
0100
0101 #endif