38 constexpr unsigned int PXidx= 0;
39 constexpr unsigned int PYidx= 1;
40 constexpr unsigned int PZidx= 2;
42 constexpr unsigned int VXidx= 3;
43 constexpr unsigned int VYidx= 4;
44 constexpr unsigned int VZidx= 5;
54#if defined(WIN32) || defined(__MINGW32__)
55#define unlikely(x) (x)
58#define unlikely(x) __builtin_expect((x),0)
59#define likely(x) __builtin_expect((x),1)
70#define SUBSTEP_STRUCT(sim, i) (sim->substeps[i])
71#define SUBSTEP_START(sim, i) (sim->substeps[(i)].start_time)
72#define SUBSTEP_X(sim, i) (sim->substeps[(i)].x)
73#define SUBSTEP_TX(sim, i) (sim->substeps[(i)].tx)
74#define SUBSTEP_LEN(sim, i) (sim->substeps[(i)].len)
76#define LAST_SUBSTEP_STRUCT(sim) (SUBSTEP_STRUCT(sim, sim->cur_substep_idx-1))
78#define CUR_SUBSTEP_START(sim) (SUBSTEP_START(sim, sim->cur_substep_idx))
79#define CUR_SUBSTEP_X(sim) (SUBSTEP_X(sim, sim->cur_substep_idx))
80#define CUR_SUBSTEP_TX(sim) (SUBSTEP_TX(sim, sim->cur_substep_idx))
81#define CUR_SUBSTEP_LEN(sim) (SUBSTEP_LEN(sim, sim->cur_substep_idx))
83#define CUR_SUBSTEP(sim) (sim->cur_substep_idx)
84#define LAST_SUBSTEP(sim) (sim->cur_substep_idx-1)
85#define MAX_SUBSTEP(sim) (sim->max_substep_idx)
86#define SUBSTEPS(sim) (sim->substeps)
struct QSS_simulator_ * QSS_simulator
struct QSSSubstep_ * QSSSubstep
constexpr unsigned int PZidx
constexpr unsigned int PYidx
constexpr unsigned int VZidx
constexpr unsigned int VXidx
constexpr unsigned int VAR_IDX_END
constexpr unsigned int MIN_SUBSTEPS
constexpr unsigned int PXidx
constexpr unsigned int MAX_QSS_STEPPER_ORDER
constexpr unsigned int VYidx
G4double tx[Qss_misc::VAR_IDX_END]
G4double x[Qss_misc::VAR_IDX_END *(Qss_misc::MAX_QSS_STEPPER_ORDER+1)]
G4double dQMin[Qss_misc::VAR_IDX_END]
G4double x[Qss_misc::VAR_IDX_END *(Qss_misc::MAX_QSS_STEPPER_ORDER+1)]
G4double lqu[Qss_misc::VAR_IDX_END]
G4double nextStateTime[Qss_misc::VAR_IDX_END]
G4int * SD[Qss_misc::VAR_IDX_END]
G4double alg[Qss_misc::VAR_IDX_END]
G4double dQRel[Qss_misc::VAR_IDX_END]
G4double q[Qss_misc::VAR_IDX_END *(Qss_misc::MAX_QSS_STEPPER_ORDER+1)]
G4double tx[Qss_misc::VAR_IDX_END]
G4double tq[Qss_misc::VAR_IDX_END]