gfields
Loading...
Searching...
No Matches
gfieldConventions.h
Go to the documentation of this file.
1#pragma once
2
13#define GFIELD_DEFAULT_INTEGRATION_STEPPER "G4DormandPrince745"
14
20#define GFIELD_DEFAULT_MINIMUM_STEP "1.0*mm"
21
22// Other default parameters are in the form of strings (to preserve unit expressions).
23
27#define GFIELD_DEFAULT_VERTEX "0*mm"
28
32#define GFIELD_DEFAULT_ROTANGLE "0*deg"
33
37#define GFIELD_DEFAULT_VERBOSITY "0"
38
39
40// Error codes in the 1200 range (module-local).
41#define ERR_WRONG_FIELD_ROTATION 1201
42#define ERR_WRONG_FIELD_NOT_FOUND 1202
43#define ERR_STEPPER_NOT_FOUND 1203
44#define ERR_WRONG_POLE_NUMBER 1204
45