Numerical C++ Library Concepts
TWiki Guest (guest)
Logout
Numerical C++ Library Concepts
IT Services
ISG Blog
IntraMATH
Contact
Login
Keyword or person
News
About us
People
People
Publications
Gallery
Applications
Installation
How to get started
Tutorials
Class documentation
ETH Zurich
D-MATH
wiki@math
Concepts
ArPackTest.hh
Go to the documentation of this file.
1
6
#ifndef ArPackTest_hh
7
#define ArPackTest_hh
8
9
#include <iostream>
10
#include <cstdlib>
11
//#include <unistd.h> // for command line parsing
12
#include "
space/space.hh
"
13
#include "
basics/testcase.hh
"
14
#include "
operator/sparseMatrix.hh
"
15
#include "
operator/cg.hh
"
16
#include "
eigensolver/ARPACKsymm.hh
"
17
#include "
eigensolver/ARPACK.hh
"
18
#include "
eigensolver/arpackFabric.hh
"
19
#include "
basics/exceptions.hh
"
20
21
using
concepts::Real
;
22
using
concepts::Cmplx
;
23
24
namespace
test
{
25
26
class
ArPackTest
:
public
TestCase
{
27
public
:
28
ArPackTest
() :
spc
(10) {}
29
virtual
~ArPackTest
() {}
30
virtual
void
run
();
31
private
:
33
34
void
testFEMDim10
();
35
void
testWithKernel
();
36
void
testWithKernelSuperLU
();
37
38
concepts::DummySpace<Real>
spc
;
39
};
40
41
}
// namespace test
42
43
# endif // ArPackTest_hh
44
test::TestCase
Base class for tests.
Definition:
testcase.hh:92
test::ArPackTest::spc
concepts::DummySpace< Real > spc
Definition:
ArPackTest.hh:38
test::ArPackTest::~ArPackTest
virtual ~ArPackTest()
Definition:
ArPackTest.hh:29
testcase.hh
test::ArPackTest::ArPackTest
ArPackTest()
Definition:
ArPackTest.hh:28
test::ArPackTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::ArPackTest::testFEMDim10
void testFEMDim10()
exceptions.hh
ARPACKsymm.hh
test
Unit tests.
Definition:
testcase.hh:66
ARPACK.hh
concepts::Cmplx
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition:
typedefs.hh:39
cg.hh
arpackFabric.hh
test::ArPackTest::testWithKernelSuperLU
void testWithKernelSuperLU()
test::ArPackTest::testWithKernel
void testWithKernel()
sparseMatrix.hh
concepts::DummySpace< Real >
space.hh
test::ArPackTest
Definition:
ArPackTest.hh:26
concepts::Real
double Real
Type normally used for a floating point number.
Definition:
typedefs.hh:36
Page URL:
http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020
Eidgenössische Technische Hochschule Zürich