GLAC  1.0
performancetests.h
Go to the documentation of this file.
1 
9 #ifndef PERFORMANCETESTS_H
10 #define PERFORMANCETESTS_H
11 
13 
15 {
16 private:
17  // SU3 generator
18  SU3MatrixGenerator * m_SU3Generator = nullptr;
19 
20  // RNGs
21  std::mt19937_64 m_generator;
22  std::uniform_real_distribution<double> m_uniform_distribution;
23 
24  // Degree of the Taylor polynomial to use in exponentiation
25  unsigned int m_NTaylorDegree = 8;
26 
27  // Tests for the SU3 exponentiation
28  void testExponentiationTime(unsigned int NTests);
29  void testExponentiationAccuracy();
30 
31  // Tests of the RNGs
32  void testRandomGenerators(unsigned int NTests);
33 
34  // Tests for the SU3 derivative
35  void testDerivativeTimeAndAccuracy(unsigned int NTests);
36 
37  // Tests for the SU3 matrix multiplication
38  void testMatrixMultiplication();
39 public:
42 
43  void run();
44 };
45 
46 #endif // PERFORMANCETESTS_H
void run()
PerformanceTests::run initiates performance testing on:
Definition: performancetests.cpp:57
PerformanceTests()
PerformanceTests::PerformanceTests constructor.
Definition: performancetests.cpp:29
Class for generating random SU3 matrices.
Definition: su3matrixgenerator.h:20
Definition: performancetests.h:14
~PerformanceTests()
PerformanceTests::~PerformanceTests.
Definition: performancetests.cpp:43