deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20: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
geometry_info.cc
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) 1999 - 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#include <deal.II/base/config.h>
14
17#include <deal.II/base/tensor.h>
18
19#include <array>
20
22
23
24template <int dim>
25constexpr unsigned int GeometryInfo<dim>::max_children_per_cell;
26template <int dim>
27constexpr unsigned int GeometryInfo<dim>::faces_per_cell;
28template <int dim>
29constexpr unsigned int GeometryInfo<dim>::max_children_per_face;
30template <int dim>
31constexpr unsigned int GeometryInfo<dim>::vertices_per_cell;
32template <int dim>
33constexpr unsigned int GeometryInfo<dim>::vertices_per_face;
34template <int dim>
35constexpr unsigned int GeometryInfo<dim>::lines_per_face;
36template <int dim>
37constexpr unsigned int GeometryInfo<dim>::quads_per_face;
38template <int dim>
39constexpr unsigned int GeometryInfo<dim>::lines_per_cell;
40template <int dim>
41constexpr unsigned int GeometryInfo<dim>::quads_per_cell;
42template <int dim>
43constexpr unsigned int GeometryInfo<dim>::hexes_per_cell;
44
45template <int dim>
46constexpr std::array<int, GeometryInfo<dim>::faces_per_cell>
48
49template <int dim>
52
53template <int dim>
54constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
56
57template <int dim>
58constexpr std::array<Tensor<1, dim>, GeometryInfo<dim>::faces_per_cell>
60
61template <int dim>
63
65
66template <int dim>
67constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
69
70template <int dim>
71constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
73
74template <int dim>
75constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
77
78const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
80
81const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
83
84template struct GeometryInfo<1>;
85template struct GeometryInfo<2>;
86template struct GeometryInfo<3>;
87template struct GeometryInfo<4>;
88
89template void
91#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
92 (const Point<1> (&)[vertices_per_cell],
93 Tensor<1 - 1, 1> (&)[vertices_per_cell])
94#else
95 (const Point<1> *, Tensor<1 - 1, 1> *)
96#endif
97 ;
98
99template void
101#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
102 (const Point<2> (&)[vertices_per_cell],
103 Tensor<2 - 1, 2> (&)[vertices_per_cell])
104#else
105 (const Point<2> *, Tensor<2 - 1, 2> *)
106#endif
107 ;
108
109template void
111#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
112 (const Point<2> (&vertices)[vertices_per_cell],
113 Tensor<2 - 2, 2> (&forms)[vertices_per_cell])
114#else
115 (const Point<2> *, Tensor<2 - 2, 2> *)
116#endif
117 ;
118
119template void
121#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
122 (const Point<3> (&vertices)[vertices_per_cell],
123 Tensor<3 - 2, 3> (&forms)[vertices_per_cell])
124#else
125 (const Point<3> *, Tensor<3 - 2, 3> *)
126#endif
127 ;
128
129
130template void
132#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
133 (const Point<3> (&vertices)[vertices_per_cell],
134 Tensor<3 - 3, 3> (&forms)[vertices_per_cell])
135#else
136 (const Point<3> *, Tensor<3 - 3, 3> *)
137#endif
138 ;
139
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
typename internal::ndarray::HelperArray< T, Ns... >::type ndarray
Definition ndarray.h:105