Class documentation of Concepts

Loading...
Searching...
No Matches
BiCGStabTest.hh
Go to the documentation of this file.
1
7#ifndef bicgstabTest_hh
8#define bicgstabTest_hh
9
10#include "basics/testcase.hh"
11#include "space/space.hh"
12
13namespace test {
14
19 class BiCgStabTest : public TestCase {
20 public:
21 BiCgStabTest() : spc(5) {}
22 virtual ~BiCgStabTest() {}
23 virtual void run();
24
26
27 void denseMatrixReal();
28 void sparseMatrixReal();
29 void denseMatrixCmplx();
30 void sparseMatrixCmplx();
31
33 template<class F>
36 F res[5]);
38 template<class F, class G>
41 concepts::Vector<F>& rhs, F res[5]);
43 private:
45 };
46
47} // namespace test
48
49#endif // bicgstabTest_hh
void testPrecond(concepts::Matrix< F > &m, concepts::Operator< G > &p, concepts::Operator< G > &pinv, concepts::Vector< F > &rhs, F res[5])
With diagonal preconditioner.
void testNormal(concepts::Matrix< F > &m, concepts::Vector< F > &rhs, F res[5])
Without preconditioning.
virtual void run()
Runs the tests. Must be overwritten by the specialization.