ArPackTest.hh

Go to the documentation of this file.
1 
6 #ifndef ArPackTest_hh
7 #define ArPackTest_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 "operator/cg.hh"
17 #include "eigensolver/ARPACK.hh"
19 #include "basics/exceptions.hh"
20 
21 using concepts::Real;
22 using concepts::Cmplx;
23 
24 namespace test {
25 
26  class ArPackTest : public TestCase {
27  public:
28  ArPackTest() : spc(10) {}
29  virtual ~ArPackTest() {}
30  virtual void run();
31  private:
33 
34  void testFEMDim10();
37 
39  };
40 
41 } // namespace test
42 
43 # endif // ArPackTest_hh
44 
Base class for tests.
Definition: testcase.hh:92
concepts::DummySpace< Real > spc
Definition: ArPackTest.hh:38
virtual ~ArPackTest()
Definition: ArPackTest.hh:29
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Unit tests.
Definition: testcase.hh:66
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
void testWithKernelSuperLU()
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich