C++ mpi module for stochmagnet_main Package
CORE_Constants.h
1 #ifndef CORE_Constants_H
2 #define CORE_Constants_H
3 
4 //inherited class
5 
6 
12 template<typename T>
14 
15 
16  // ATTRIBUTES
17 
18 public:
19 
22  static constexpr T EPSILON=std::numeric_limits<T>::epsilon();
23 
26  static constexpr T PI=(T) 3.141592653589793238462643383795;
27 
28 
29 
30 private:
31 
32 
33 protected:
34  // METHODS
35 
36  // CONSTRUCTORS
37 
41  }
42 
43 
44 
45  // DESTRUCTORS
46 
47 
50  virtual ~CORE_Constants(void) {
51  }
52 
53 
54 private:
55  // SET methods
56 
57 
58 public:
59 
60 
61 public:
62  // OTHERS methods
63 
64 
65 
66 
67 };
68 
69 
70 
71 #endif
This class is the constant variables for all package.
Definition: CORE_Constants.h:13
static constexpr T EPSILON
tolerance for null value
Definition: CORE_Constants.h:22
static constexpr T PI
PI value.
Definition: CORE_Constants.h:26
virtual ~CORE_Constants(void)
destroy an instance of class
Definition: CORE_Constants.h:50
CORE_Constants(void)
create a a class
Definition: CORE_Constants.h:40