dirichletTest.hh

Go to the documentation of this file.
1 
8 #ifndef testdirichlet_hh
9 #define testdirichlet_hh
10 
11 #include "basics/testcase.hh"
12 #include "basics/typedefs.hh"
13 #include "toolbox/array.hh"
14 
15 namespace test {
16 
17  // ********************************************************* DirichletTest **
18 
24  class DirichletTest : public TestCase {
25  public:
26  virtual ~DirichletTest() {}
27  virtual void run();
28 
30 
31 
34  void testSquare(const uint l);
38  void testRing(const uint l);
40  };
41 
42 } // namespace test
43 
44 #endif // testdirichlet_hh
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Base class for tests.
Definition: testcase.hh:92
Unit tests.
Definition: testcase.hh:66
void testRing(const uint l)
Solve a Laplace boundary value problem with Dirichlet boundary condition inside a ring.
void testSquare(const uint l)
Test the extension on points inside a square, which is subdivided l times.
Test the dirichlet boundary condition with an extension operator in the class hp2D::H1Extension.
virtual ~DirichletTest()
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich