tests/unit/Inciter/AMR/TestError.cpp file

Unit tests for AMR error indicators in Inciter/AMR/Error.h.

Unit tests for AMR error indicators in Inciter/AMR/Error.h. All unit tests start from simple mesh connectivities defined in the code. The tetrahedron mesh in Gmsh ASCII format is as follows. Note that ids start from zero in the code, but from one in Gmsh.

$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
14
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 0 0 1
6 1 0 1
7 1 1 1
8 0 1 1
9 0.5 0.5 0
10 0.5 0.5 1
11 0.5 0 0.5
12 1 0.5 0.5
13 0.5 1 0.5
14 0 0.5 0.5
$EndNodes
$Elements
24
1 4 1 0 12 14 9 11
2 4 1 0 10 14 13 12
3 4 1 0 14 13 12 9
4 4 1 0 10 14 12 11
5 4 1 0 1 14 5 11
6 4 1 0 7 6 10 12
7 4 1 0 14 8 5 10
8 4 1 0 8 7 10 13
9 4 1 0 7 13 3 12
10 4 1 0 1 4 14 9
11 4 1 0 13 4 3 9
12 4 1 0 3 2 12 9
13 4 1 0 4 8 14 13
14 4 1 0 6 5 10 11
15 4 1 0 1 2 9 11
16 4 1 0 2 6 12 11
17 4 1 0 6 10 12 11
18 4 1 0 2 12 9 11
19 4 1 0 5 14 10 11
20 4 1 0 14 8 10 13
21 4 1 0 13 3 12 9
22 4 1 0 7 10 13 12
23 4 1 0 14 4 13 9
24 4 1 0 14 1 9 11
$EndElements