You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
hp2D
testsuite
extremaTest.hh
1
9
#ifndef extremaTest_hh
10
#define extremaTest_hh
11
12
#include "
hp2D/extrema.hh
"
13
#include <optimization.h>
14
#include <ap.h>
15
#include "hp2D.hh"
16
#include "
basics/testcase.hh
"
17
18
19
namespace
test
{
20
21
using
concepts::Real
;
22
using
concepts::Real2d
;
23
24
//*************************************************** ExtremaTest **************************
25
26
class
ExtremaTest
:
public
TestCase
{
27
public
:
28
//virtual ~minMaxTest() {}
29
virtual
void
run
();
30
31
// testCase for a constant function, max = min = random value between 0 and 1
32
void
testCase1_();
33
34
// testCase for piecewise constant function on a mesh of four cells
35
void
testCase2_();
36
37
// testCase for function f = (4*x^2-4*x)*(1-y), max = 0.0 , min = -1.0
38
void
testCase3_();
39
40
//TestCase for function f = cos(pi*x)*cos(pi*y), max = 1.0 , min = -1.0
41
void
testCase4_();
42
43
};
44
45
}
//namespace test
46
47
48
49
#endif
//minMaxTest_hh
concepts::Point< Real, 2 >
test::ExtremaTest
Definition
extremaTest.hh:26
test::ExtremaTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::TestCase
Definition
testcase.hh:92
extrema.hh
concepts::Real
double Real
Definition
typedefs.hh:39
test
Definition
testcase.hh:66
testcase.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8