mumpsTest.hh

Go to the documentation of this file.
1 
7 #ifndef mumpsTest_hh
8 #define mumpsTest_hh
9 
10 #include "basics/testcase.hh"
11 #include "space/space.hh"
12 
13 namespace test {
18  class MumpsTest : public TestCase {
19  public:
20  MumpsTest() : spc(5) {}
21  virtual ~MumpsTest() {}
22  virtual void run();
23 
25 
28 
30  template<class F, class G, class H>
31  void vectorSolve(concepts::Matrix<F>& m, G rhs[], H res[]);
32 
34  private:
36  };
37 } // namespace test
38 
39 #endif // mumpsTest_hh
Test the direct solver Mumps.
Definition: mumpsTest.hh:18
Base class for tests.
Definition: testcase.hh:92
virtual ~MumpsTest()
Definition: mumpsTest.hh:21
void SimpleTest_5_by_5()
solve the system twice and compare with result res
void SimpleTest_2_by_2()
solve the system twice and compare with result res
Unit tests.
Definition: testcase.hh:66
void vectorSolve(concepts::Matrix< F > &m, G rhs[], H res[])
solve the system twice and compare with result res
concepts::DummySpace< concepts::Real > spc
solve the system twice and compare with result res
Definition: mumpsTest.hh:35
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Abstract class for an operator.
Definition: compositions.hh:31
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich