gfields
gfieldConventions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define GFIELD_DEFAULT_INTEGRATION_STEPPER "G4DormandPrince745"
4 #define GFIELD_DEFAULT_MINIMUM_STEP "1.0*mm"
5 
6 // other default parameters are in the form of strings
7 
8 // multipoles.
9 #define GFIELD_DEFAULT_POLE_NUMBER "1"
10 #define GFIELD_DEFAULT_VERTEX "0*mm"
11 #define GFIELD_DEFAULT_ROTANGLE "0*deg"
12 #define GFIELD_DEFAULT_ROTAXIS "Z"
13 #define GFIELD_DEFAULT_STRENGTH "1.0"
14 #define GFIELD_DEFAULT_VERBOSITY "0"
15 
16 // error codes in the 1200
17 #define EC__WRONG_FIELD_ROTATION 1201
18 #define EC__WRONG_FIELD_NOT_FOUND 1202
19 #define EC__STEPPER_NOT_FOUND 1203
20 #define EC__WRONG_POLE_NUMBER 1204
21 
22