deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
surface_mesh.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2022 - 2026 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_cgal_surface_mesh_h
14#define dealii_cgal_surface_mesh_h
15
16#include <deal.II/base/config.h>
17
18#include <deal.II/fe/mapping.h>
19
20#include <deal.II/grid/tria.h>
21
22
23#ifdef DEAL_II_WITH_CGAL
25
26# include <CGAL/version.h>
27# if CGAL_VERSION_MAJOR >= 6
28# include <CGAL/Installation/internal/disable_deprecation_warnings_and_errors.h>
29# endif
30# include <CGAL/Polygon_mesh_processing/stitch_borders.h>
31# include <CGAL/Surface_mesh.h>
32
33#endif
34
36
37#ifdef DEAL_II_WITH_CGAL
38namespace CGALWrappers
39{
69 template <typename CGALPointType, int dim, int spacedim>
70 void
72 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
73 const ::Mapping<dim, spacedim> &mapping,
74 CGAL::Surface_mesh<CGALPointType> &mesh);
75
90 template <typename CGALPointType, int dim, int spacedim>
91 void
93 const ::Triangulation<dim, spacedim> &triangulation,
94 CGAL::Surface_mesh<CGALPointType> &mesh);
95} // namespace CGALWrappers
96
97#endif
98
100#endif
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
void dealii_tria_to_cgal_surface_mesh(const ::Triangulation< dim, spacedim > &triangulation, CGAL::Surface_mesh< CGALPointType > &mesh)
void dealii_cell_to_cgal_surface_mesh(const typename ::Triangulation< dim, spacedim >::cell_iterator &cell, const ::Mapping< dim, spacedim > &mapping, CGAL::Surface_mesh< CGALPointType > &mesh)