boundariesTest.hh

Go to the documentation of this file.
1 
9 #ifndef hp2DedgeBoundariesTest_hh
10 #define hp2DedgeBoundariesTest_hh
11 
12 #include "basics/testcase.hh"
13 #include "basics/typedefs.hh"
15 #include "formula/boundary.hh"
16 #include "hp2Dedge/space.hh"
17 
18 using concepts::Real;
19 
20 namespace hp2D {
21  class Space;
22 }
23 
24 namespace test {
25 
26  // ****************************************************** BoundariesTest **
27 
32  class BoundariesTest : public TestCase {
33  public:
34  virtual ~BoundariesTest() {}
35  virtual void run();
36 
38 
39 
43  private:
47  uint l = 0, uint p = 1);
49  std::unique_ptr<hp2Dedge::Space> spc_;
50  };
51 
52 } // namespace test
53 
54 #endif // hp2DedgeBoundariesTest_hh
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Base class for tests.
Definition: testcase.hh:92
void testDirichletCoefficients()
Tests the Dirichlet coefficients for square.
2D hp-FEM for H1-conforming elements.
Unit tests.
Definition: testcase.hh:66
Tests the Dirichlet boundaries.
void setSpace_(concepts::Mesh2 &msh, concepts::BoundaryConditions *bc=0, uint l=0, uint p=1)
Builds the space.
An abstract class for 2D meshes.
Definition: mesh.hh:103
std::unique_ptr< hp2Dedge::Space > spc_
Space.
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