Class documentation of Concepts

Loading...
Searching...
No Matches
testBlending.hh
Go to the documentation of this file.
1
9#ifndef testBlending_hh
10#define testBlending_hh
11
12#include "basics/testcase.hh"
13#include "basics/typedefs.hh"
15
16namespace test {
17 using concepts::Real;
18
19 // ********************************************************** TestBlending **
20
26 class TestBlending : public TestCase {
27 public:
28 virtual ~TestBlending() {}
29 virtual void run();
30
32
33 void testFourEdges();
34 void testThreeEdges();
35 void testFourVertices();
36 void testEdgeTwoVertices();
37 void testAdjEdgesVertex();
38 void testOppositeEdges();
39 void testJacobian();
40 void testTwoQuads();
42 private:
44 std::unique_ptr<concepts::MappingEdge2d> edges_[4];
45
47 void print_(const concepts::MappingQuad2d& map,
48 const std::string filename) const;
50 void print2_(const concepts::MappingQuad2d& map,
51 const uint n) const;
53 void testMap_(const concepts::MappingQuad2d& map,
54 const concepts::Array<Real>& X,
55 const concepts::Array<Real>& Y, const uint n);
56 };
57
58} // namespace test
59
60#endif // testBlending_hh
virtual void run()
Runs the tests. Must be overwritten by the specialization.
double Real
Definition typedefs.hh:39