You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp2D
testsuite
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
"
11
#include "
basics/vectorsMatricesForward.hh
"
12
13
using
concepts::Real
;
14
15
namespace
concepts
{
16
// forward declaration
17
class
Mesh;
18
}
19
20
namespace
hp2D
{
21
// forward declaration
22
class
Space;
23
}
24
25
namespace
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>
50
F
integrate
(
concepts::Mesh2
& msh,
51
const
concepts::ElementFormula<F,G>
& frm);
53
};
54
55
}
// namespace test
56
57
#endif
// integralTest_hh
concepts::ElementFormula
Definition
elementFormula.hh:35
concepts::Mesh2
Definition
mesh.hh:103
test::IntegralTest
Definition
integralTest.hh:32
test::IntegralTest::integrate
F integrate(concepts::Mesh2 &msh, const concepts::ElementFormula< F, G > &frm)
Returns the integral of a element formula over a space.
test::IntegralTest::ring
void ring()
Test for piecewise defined formula at a ring.
test::IntegralTest::circle
void circle()
Test for a mesh of a circle (area, moments)
test::IntegralTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::IntegralTest::element
void element()
Test for a single element.
test::TestCase
Definition
testcase.hh:92
concepts
Definition
pml_formula.h:16
concepts::Real
double Real
Definition
typedefs.hh:39
hp2D
Definition
explicitResidual.hh:120
test
Definition
testcase.hh:66
testcase.hh
typedefs.hh
vectorsMatricesForward.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8