Class documentation of Concepts

Loading...
Searching...
No Matches
integralTest.hh
Go to the documentation of this file.
1
6#ifndef integralTest_hh
7#define integralTest_hh
8
9#include "basics/testcase.hh"
10#include "basics/typedefs.hh"
12
13using concepts::Real;
14
15namespace concepts {
16 // forward declaration
17 class Mesh;
18}
19
20namespace hp2D {
21 // forward declaration
22 class Space;
23}
24
25namespace test {
26
27 // ********************************************************** IntegralTest **
28
32 class IntegralTest : public TestCase {
33 public:
34 virtual ~IntegralTest() {}
35 virtual void run();
36
38
39
41 void element();
43 void circle();
45 void ring();
46 // Integration of a FE solution
47 void FEintegral();
49 template<typename F, typename G>
53 };
54
55} // namespace test
56
57#endif // integralTest_hh
F integrate(concepts::Mesh2 &msh, const concepts::ElementFormula< F, G > &frm)
Returns the integral of a element formula over a space.
void ring()
Test for piecewise defined formula at a ring.
void circle()
Test for a mesh of a circle (area, moments)
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void element()
Test for a single element.
double Real
Definition typedefs.hh:39