DirPowItTest.hh

Go to the documentation of this file.
1 
6 #ifndef DirPowItTest_hh
7 #define DirPowItTest_hh
8 
9 #include <iostream>
10 #include <cstdlib>
11 #include <unistd.h> // for command line parsing
12 #include "space/space.hh"
13 #include "basics/testcase.hh"
14 #include "operator/sparseMatrix.hh"
15 #include "eigensolver/SmallES.hh"
16 #include "eigensolver/QR_Q.hh"
17 #include "eigensolver/DirPowIt.hh"
18 #include "operator/superLU.hh"
19 #include "basics/exceptions.hh"
20 #include "toolbox/array.hh"
21 
22 using concepts::Real;
23 using concepts::Cmplx;
24 
25 namespace test {
26 
27  class DirPowItTest : public TestCase {
28  public:
29  DirPowItTest() : spc(5) {}
30  virtual ~DirPowItTest() {}
31  virtual void run();
32  private:
34  };
35 
36 } // namespace test
37 
38 # endif // DirPowItTest_hh
39 
Base class for tests.
Definition: testcase.hh:92
Unit tests.
Definition: testcase.hh:66
virtual ~DirPowItTest()
Definition: DirPowItTest.hh:30
virtual void run()
Runs the tests. Must be overwritten by the specialization.
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
concepts::DummySpace< Real > spc
Definition: DirPowItTest.hh:33
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich