KrisLibrary  1.0.0
ParabolicRampConfig.h
1 #ifndef PARABOLIC_RAMP_CONFIG_H
2 #define PARABOLIC_RAMP_CONFIG_H
3 
4 #include <KrisLibrary/Logger.h>
5 #include <assert.h>
6 
8 #define PARABOLIC_RAMP_ASSERT(x) assert(x)
9 
11 #define PARABOLIC_RAMP_PERROR(...) fprintf(stderr,__VA_ARGS__)
12 
14 #define PARABOLIC_RAMP_PLOG(...) printf(__VA_ARGS__)
15 
16 namespace ParabolicRamp {
17 
19  const static Real EpsilonT = 1e-10;
20 
22  const static Real EpsilonX = 1e-10;
23 
25  const static Real EpsilonV = 1e-10;
26 
28  const static Real EpsilonA = 1e-10;
29 
33 
35  const static Real CheckEpsilonT = 1e-6;
36 
38  const static Real CheckEpsilonX = 1e-5;
39 
41  const static Real CheckEpsilonV = 1e-5;
42 
44  const static Real CheckEpsilonA = 1e-6;
45 
50  const static int gValidityCheckLevel = 2;
51 
56  const static int gVerbose = 0;
57 
59  const static bool gErrorGetchar = false;
60 
62  const static bool gErrorSave = true;
63 
64 } //namespace ParabolicRamp
65 
66 #endif
Definition: ParabolicRamp.cpp:39
The logging system used in KrisLibrary.