You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
operator
testsuite
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
13
namespace
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>
34
void
testNormal
(
concepts::Matrix<F>
& m,
35
concepts::Vector<F>
& rhs,
36
F res[5]);
38
template
<
class
F,
class
G>
39
void
testPrecond
(
concepts::Matrix<F>
& m,
concepts::Operator<G>
& p,
40
concepts::Operator<G>
& pinv,
41
concepts::Vector<F>
& rhs, F res[5]);
43
private
:
44
concepts::DummySpace<concepts::Real>
spc;
45
};
46
47
}
// namespace test
48
49
#endif
// bicgstabTest_hh
concepts::DummySpace
Definition
space.hh:373
concepts::Matrix
Definition
matrix.hh:39
concepts::Operator
Definition
compositions.hh:42
concepts::Vector
Definition
vector.hh:39
test::BiCgStabTest
Definition
BiCGStabTest.hh:19
test::BiCgStabTest::testPrecond
void testPrecond(concepts::Matrix< F > &m, concepts::Operator< G > &p, concepts::Operator< G > &pinv, concepts::Vector< F > &rhs, F res[5])
With diagonal preconditioner.
test::BiCgStabTest::testNormal
void testNormal(concepts::Matrix< F > &m, concepts::Vector< F > &rhs, F res[5])
Without preconditioning.
test::BiCgStabTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::TestCase
Definition
testcase.hh:92
test
Definition
testcase.hh:66
space.hh
testcase.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8