testLegendre.hh

Go to the documentation of this file.
1 
8 #ifndef testLegendre_hh
9 #define testLegendre_hh
10 
11 #include "basics/testsuite.hh"
12 #include "basics/typedefs.hh"
14 
15 using concepts::Real;
16 
17 namespace test {
18 
19 // ******************************************************* TestLegendre1D **
20 
21  class TestLegendre1D: public TestCase {
22  public:
23  virtual ~TestLegendre1D();
24  virtual void run();
25 
26  /* Diagonal entries of the mass matrix wrt to Legendre-
27  * polynomials on [-1,1] are tested.
28  *
29  */
30  void testIdentity();
31 
32  /* Testing hp1D::Value() in function.hh for graphical output
33  * of LegendreElements. Solving the identity problem twice,
34  * once with elements of type hp1D::LegendreElements
35  * the other one with elements of type hp1D::Element
36  * and comparing the resulting ElementFormulaVectors.
37  */
39 
40 
41  };
42 
43 } // namespace test
44 
45 #endif // testLegendre_hh
Base class for tests.
Definition: testcase.hh:92
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Unit tests.
Definition: testcase.hh:66
virtual ~TestLegendre1D()
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