superLUtest.hh

Go to the documentation of this file.
1 
7 #ifndef superLUtest_hh
8 #define superLUtest_hh
9 
10 #include "basics/testcase.hh"
11 #include "space/space.hh"
12 
13 namespace test {
14 
19  class SuperLUTest : public TestCase {
20  public:
21  SuperLUTest() : spc(5) {}
22  virtual ~SuperLUTest() {}
23  virtual void run();
24 
26 
27  void DebuggingInfo();
28  void SimpleTest();
29  void MatrixReal();
30  void MatrixComplx();
31  void SubMatrixReal();
34 
36  template<class F, class G, class H>
37  void vectorSolve(concepts::Matrix<F>& m, G rhs[], H res[]);
38 
40  template<class F, class G, class H>
42  const concepts::Matrix<G>& rhs,
43  const concepts::Matrix<H>& res);
45  private:
47  };
48 
49 } // namespace test
50 
51 #endif // superLUtest_hh
virtual ~SuperLUTest()
Definition: superLUtest.hh:22
void MatrixReal()
solve the system twice and compare with result res
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Base class for tests.
Definition: testcase.hh:92
concepts::DummySpace< concepts::Real > spc
solve the system twice and compare with result res
Definition: superLUtest.hh:46
void matrixSolve(concepts::Matrix< F > &m, const concepts::Matrix< G > &rhs, const concepts::Matrix< H > &res)
solve the system twice and compare with result res
void SimpleTest()
solve the system twice and compare with result res
Unit tests.
Definition: testcase.hh:66
void MatrixComplx()
solve the system twice and compare with result res
Abstract class for an operator.
Definition: compositions.hh:31
void vectorSolve(concepts::Matrix< F > &m, G rhs[], H res[])
solve the system twice and compare with result res
Test the direct solver SuperLU.
Definition: superLUtest.hh:19
void LargeMatrixReal()
solve the system twice and compare with result res
void DebuggingInfo()
solve the system twice and compare with result res
void LargeMatrixComplex()
solve the system twice and compare with result res
void SubMatrixReal()
solve the system twice and compare with result res
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich