Class documentation of Concepts

Loading...
Searching...
No Matches
cgTest.hh
Go to the documentation of this file.
1
7#ifndef cgTest_hh
8#define cgTest_hh
9
10#include "basics/testcase.hh"
11#include "space/space.hh"
12
13using concepts::Real;
14
15namespace test {
16
21 class CgTest : public TestCase {
22 public:
23 CgTest() : spc(5) {}
24 virtual ~CgTest() {}
25 virtual void run();
26
28
29
32 Real res[5]);
36 Real res[5]);
38 private:
40 };
41
42} // namespace test
43
44#endif // cgTest_hh
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void testPrecond(concepts::Matrix< Real > &m, concepts::Vector< Real > &rhs, Real res[5])
With diagonal preconditioner.
void testNormal(concepts::Matrix< Real > &m, concepts::Vector< Real > &rhs, Real res[5])
Without preconditioning.
double Real
Definition typedefs.hh:39