elmTest.hh

Go to the documentation of this file.
1 
7 #ifndef elmTest_hh
8 #define elmTest_hh
9 
10 #include "basics/testcase.hh"
11 
12 namespace linDG2D {
13  class TriangleP1;
14 }
15 namespace concepts {
16  class Triangle2d;
17 }
18 
19 namespace test {
20 
24  class DGTriangleP1Test : public TestCase {
25  public:
26  virtual ~DGTriangleP1Test() {}
27  virtual void run();
28 
30 
31  void testCell(concepts::Triangle2d& tce);
38  };
39 
40 } // namespace test
41 
42 #endif // elmTest_hh
Base class for tests.
Definition: testcase.hh:92
void testShapeFct(linDG2D::TriangleP1 &tel)
Tests shape functions.
Triangular element with orthogonal linear shape functions in 2D.
Definition: triangle.hh:77
Testing linDG2D::TriangleP1.
Definition: elmTest.hh:24
A 2D cell: triangle.
Definition: cell2D.hh:31
virtual ~DGTriangleP1Test()
Definition: elmTest.hh:26
virtual void run()
Runs the tests. Must be overwritten by the specialization.
DG FEM for 2D problems using piecewise linear shape functions.
Definition: bilinearForm.hh:15
Unit tests.
Definition: testcase.hh:66
void testShapeFctGradient(linDG2D::TriangleP1 &tel)
Tests shape function gradients.
void testCell(concepts::Triangle2d &tce)
Test cell.
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich