Klamp't  0.8.1
Config.h
1 #ifndef PARABOLIC_RAMP_CONFIG_H
2 #define PARABOLIC_RAMP_CONFIG_H
3 
4 #include <assert.h>
5 
7 #define PARABOLIC_RAMP_ASSERT(x) assert(x)
8 
10 #define PARABOLIC_RAMP_PERROR(...) fprintf(stderr,__VA_ARGS__)
11 
13 #define PARABOLIC_RAMP_PLOG(...) printf(__VA_ARGS__)
14 
15 namespace ParabolicRamp {
16 
18  const static Real EpsilonT = 1e-10;
19 
21  const static Real EpsilonX = 1e-10;
22 
24  const static Real EpsilonV = 1e-10;
25 
27  const static Real EpsilonA = 1e-10;
28 
32 
34  const static Real CheckEpsilonT = 1e-6;
35 
37  const static Real CheckEpsilonX = 1e-5;
38 
40  const static Real CheckEpsilonV = 1e-5;
41 
43  const static Real CheckEpsilonA = 1e-6;
44 
49  const static int gValidityCheckLevel = 2;
50 
55  const static int gVerbose = 0;
56 
58  const static bool gErrorGetchar = false;
59 
61  const static bool gErrorSave = true;
62 
63 } //namespace ParabolicRamp
64 
65 #endif
Definition: Config.h:15