You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp2D
testsuite
linearFormTest.hh
Go to the documentation of this file.
1
6
#ifndef linearformTest_hh
7
#define linearformTest_hh
8
9
#include "
basics/testcase.hh
"
10
#include "
basics/typedefs.hh
"
11
#include "
basics/vectorsMatricesForward.hh
"
12
#include "
formula/boundary.hh
"
13
#include "
hp2D/space.hh
"
14
15
using
concepts::Real
;
16
17
namespace
hp2D
{
18
class
Space;
19
}
20
21
namespace
test
{
22
23
// ******************************************************** LinearFormTest **
24
28
class
LinearFormTest
:
public
TestCase
{
29
public
:
30
virtual
~LinearFormTest
() {}
31
virtual
void
run
();
32
34
35
38
void
testRieszIntValue
();
42
void
testGradIntValue
();
46
void
testPlCurlIntValue
();
49
void
testPlCurlSystem
();
51
private
:
53
template
<
class
F,
class
G>
54
void
testLinearForm_(
concepts::LinearForm<F,Real>
& lform,
55
G& desiredVector);
56
58
void
setSpace_(uint l = 0, uint p = 1,
59
concepts::BoundaryConditions
*bc = 0);
61
std::unique_ptr<hp2D::Space> spc_;
63
std::unique_ptr<concepts::Import2dMesh> m_;
64
};
65
66
}
// namespace test
67
68
#endif
// linearformTest_hh
boundary.hh
concepts::BoundaryConditions
Definition
boundaryConditions.hh:38
concepts::LinearForm
Definition
linearForm.hh:29
test::LinearFormTest
Definition
linearFormTest.hh:28
test::LinearFormTest::testPlCurlIntValue
void testPlCurlIntValue()
test::LinearFormTest::testRieszIntValue
void testRieszIntValue()
test::LinearFormTest::testPlCurlSystem
void testPlCurlSystem()
test::LinearFormTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::LinearFormTest::testGradIntValue
void testGradIntValue()
test::TestCase
Definition
testcase.hh:92
space.hh
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