3#ifndef DUNE_MMESH_CGAL_DEFAULTS_HH
4#define DUNE_MMESH_CGAL_DEFAULTS_HH
7#include "../grid/declaration.hh"
12#define CGAL_NO_POSTCONDITIONS
19namespace MMeshDefaults {
27 std::size_t insertionIndex;
29 std::array<std::size_t, dim + 1> cgalIndex;
30 size_t domainMarker = 0;
33 bool mightVanish =
false;
34 std::size_t componentNumber = 0;
37 std::unordered_set<int> connectivity;
42 bool idWasSet =
false;
44 std::size_t insertionLevel = 0;
45 bool isInterface =
false;
46 int boundaryFlag = -1;
54class Triangulation<2> {
56 typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
58 typedef CGAL::Triangulation_vertex_base_2<K> Vbbb;
59 typedef CGAL::Triangulation_vertex_base_with_info_2<VertexInfo, K, Vbbb> Vbb;
60 typedef CGAL::Triangulation_hierarchy_vertex_base_2<Vbb> Vb;
62 typedef CGAL::Triangulation_face_base_2<K> Fbbb;
63 typedef CGAL::Triangulation_face_base_with_info_2<ElementInfo<2>, K, Fbbb>
65 typedef CGAL::Triangulation_face_base_2<K, Fbb> Fb;
67 typedef CGAL::Triangulation_data_structure_2<Vb, Fb> Tds;
70 typedef CGAL::Triangulation_2<K, Tds> type;
77class Triangulation<3> {
79 typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
81 typedef CGAL::Triangulation_vertex_base_with_info_3<VertexInfo, K> Vb;
83 typedef CGAL::Triangulation_cell_base_3<K> Fbb;
84 typedef CGAL::Triangulation_cell_base_with_info_3<ElementInfo<3>, K, Fbb> Fb;
86 typedef CGAL::Triangulation_data_structure_3<Vb, Fb> Tds;
89 typedef CGAL::Triangulation_3<K, Tds> type;
98 typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
100 typedef CGAL::Delaunay_mesh_vertex_base_2<K> Vbbb;
101 typedef CGAL::Triangulation_vertex_base_with_info_2<VertexInfo, K, Vbbb> Vbb;
102 typedef CGAL::Triangulation_hierarchy_vertex_base_2<Vbb> Vb;
104 typedef CGAL::Delaunay_mesh_face_base_2<K> Fbbb;
105 typedef CGAL::Triangulation_face_base_with_info_2<ElementInfo<2>, K, Fbbb>
107 typedef CGAL::Triangulation_face_base_2<K, Fbb> Fb;
109 typedef CGAL::Triangulation_data_structure_2<Vb, Fb> Tds;
112 typedef CGAL::Delaunay_triangulation_2<K, Tds> type;
121 typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
123 typedef CGAL::Triangulation_vertex_base_with_info_3<VertexInfo, K> Vb;
125 typedef CGAL::Delaunay_triangulation_cell_base_3<K> Fbb;
126 typedef CGAL::Triangulation_cell_base_with_info_3<ElementInfo<3>, K, Fbb> Fb;
128 typedef CGAL::Triangulation_data_structure_3<Vb, Fb> Tds;
131 typedef CGAL::Delaunay_triangulation_3<K, Tds> type;
The element and vertex infos used by the dune-mmesh implementation.
Definition: defaults.hh:26