|
RooParticle
Particle scattering simulator with ROOT
|
Compile-time limits and default tolerances (macros). More...
Go to the source code of this file.
Macros | |
| #define | MAXSTEPS 100000 |
| #define | MAXINSPECTSTEPS 100000000 |
| #define | RK45MAXSUBSTEPS 1000000 |
| Substeps event::kRK45 may try in one DeriveDT() call before it gives up (event::HasIntegratorFailed()). | |
| #define | RK45RELTOL 1e-8 |
| #define | RK45ABSTOL 1e-10 |
Compile-time limits and default tolerances (macros).
Definition in file RPConfig.hpp.
| #define MAXINSPECTSTEPS 100000000 |
Safety cap of event::DeriveInspect (number of steps). 0 means unlimited. Unit: steps. Initial value of event's maxInspectSteps; the test programs also compare their own step counter with it.
Definition at line 12 of file RPConfig.hpp.
| #define MAXSTEPS 100000 |
Number of steps that event::DeriveMAX always takes (it is a fixed count, not a safety cap: DeriveMAX runs exactly this many steps). Unit: steps. Used only by DeriveMAX in src/event.cpp. Unrelated to the stop reason named "MAXSTEPS" (event::kStopMaxSteps), which concerns MAXINSPECTSTEPS.
Definition at line 8 of file RPConfig.hpp.
| #define RK45ABSTOL 1e-10 |
Default absolute tolerance of the adaptive integrator event::kRK45 (event::SetTolerance): fm for positions, c for velocities. Initial value of event's rk45Abs.
Definition at line 21 of file RPConfig.hpp.
| #define RK45MAXSUBSTEPS 1000000 |
Substeps event::kRK45 may try in one DeriveDT() call before it gives up (event::HasIntegratorFailed()).
Default relative tolerance of the adaptive integrator event::kRK45 (event::SetTolerance): relative to the size of each position / velocity. Dimensionless. Initial value of event's rk45Rel.
Definition at line 16 of file RPConfig.hpp.
| #define RK45RELTOL 1e-8 |
Definition at line 17 of file RPConfig.hpp.