Class documentation of Concepts

Loading...
Searching...
No Matches
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
13namespace 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();
32 void LargeMatrixReal();
33 void LargeMatrixComplex();
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
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
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void vectorSolve(concepts::Matrix< F > &m, G rhs[], H res[])
solve the system twice and compare with result res