Reference documentation for deal.II version 9.6.0
\(\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: LGPL-2.1-or-later
4// Copyright (C) 2022 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#ifndef dealii_cgal_surface_mesh_h
16#define dealii_cgal_surface_mesh_h
17
18#include <deal.II/base/config.h>
19
20#include <deal.II/fe/mapping.h>
21
22#include <deal.II/grid/tria.h>
23
24
25#ifdef DEAL_II_WITH_CGAL
26# include <CGAL/Polygon_mesh_processing/stitch_borders.h>
27# include <CGAL/Surface_mesh.h>
29
30
32
33namespace CGALWrappers
34{
64 template <typename CGALPointType, int dim, int spacedim>
65 void
67 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
68 const ::Mapping<dim, spacedim> &mapping,
69 CGAL::Surface_mesh<CGALPointType> &mesh);
70
85 template <typename CGALPointType, int dim, int spacedim>
86 void
88 const ::Triangulation<dim, spacedim> &triangulation,
89 CGAL::Surface_mesh<CGALPointType> &mesh);
90} // namespace CGALWrappers
91
92
93
95
96#endif
97#endif
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
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)
const ::parallel::distributed::Triangulation< dim, spacedim > * triangulation