RooParticle
Particle scattering simulator with ROOT
Loading...
Searching...
No Matches
Macros
RPConfig.hpp File Reference

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
 

Detailed Description

Compile-time limits and default tolerances (macros).

Definition in file RPConfig.hpp.

Macro Definition Documentation

◆ MAXINSPECTSTEPS

#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.

◆ MAXSTEPS

#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.

◆ RK45ABSTOL

#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.

◆ RK45MAXSUBSTEPS

#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.

◆ RK45RELTOL

#define RK45RELTOL   1e-8

Definition at line 17 of file RPConfig.hpp.