You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
eigensolver
testsuite
SmallESTest.hh
1
6
#ifndef SmallESTest_hh
7
#define SmallESTest_hh
8
9
#include <iostream>
10
#include <cstdlib>
11
#include <unistd.h>
// for command line parsing
12
#include "
basics/testsuite.hh
"
13
#include "
basics/typedefs.hh
"
14
15
#include "
eigensolver/SmallES.hh
"
16
#include "
operator/superLU.hh
"
17
#include "
basics/exceptions.hh
"
18
#include "
toolbox/array.hh
"
19
20
21
namespace
test
{
22
23
class
SmallESTest
:
public
TestCase
{
24
public
:
25
virtual
~SmallESTest
();
26
virtual
void
run
();
27
void
SmallESTestReal();
28
void
SmallESTestCmplx();
29
private
:
30
/*
31
IMPORTANT: The num Test doen't work for Real valued input with complex eigenvalues!!!!
32
The structure of the output will be changed soon (Issue 178)
33
*/
34
template
<
typename
F>
35
void
numTestArray_(
const
concepts::Array<F>
& Id,
36
const
concepts::Array<F>
& ev1,
37
const
concepts::Array
<
concepts::Vector<F>
* >& ef1);
38
template
<
typename
F>
39
void
numTestArray_(
const
concepts::Matrix<F>
& Id,
40
const
concepts::Array<F>
& ev1,
41
const
concepts::Array
<
concepts::Vector<F>
* >& ef1);
42
template
<
typename
F>
43
void
numTestArray_(
const
concepts::ElementMatrix<F>
& Id,
44
const
concepts::Array<F>
& ev1,
45
const
concepts::Array
<
concepts::Vector<F>
* >& ef1);
46
template
<
typename
F>
47
void
numTestArray_(
const
concepts::DenseMatrix<F>
& Id,
48
const
concepts::Array<F>
& ev1,
49
const
concepts::Array
<
concepts::Vector<F>
* >& ef1){
50
numTestArray_(
reinterpret_cast<
const
concepts::Matrix<F>
&
>
(Id), ev1, ef1);
51
};
52
53
54
55
};
56
57
}
// namespace test
58
59
# endif
// SmallESTest_hh
60
61
SmallES.hh
array.hh
exceptions.hh
concepts::Array
Definition
array.hh:46
concepts::DenseMatrix
Definition
denseMatrix.hh:44
concepts::ElementMatrix
Definition
element.hh:206
concepts::Matrix
Definition
matrix.hh:39
concepts::Vector
Definition
vector.hh:39
test::SmallESTest
Definition
SmallESTest.hh:23
test::SmallESTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::TestCase
Definition
testcase.hh:92
test
Definition
testcase.hh:66
superLU.hh
testsuite.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:18 for Concepts by
1.9.8