deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+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: LGPL-2.1-or-later
4// Copyright (C) 1999 - 2021 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
16#include <deal.II/base/tensor.h>
17
19
20
21template <int dim>
22constexpr unsigned int GeometryInfo<dim>::max_children_per_cell;
23template <int dim>
24constexpr unsigned int GeometryInfo<dim>::faces_per_cell;
25template <int dim>
26constexpr unsigned int GeometryInfo<dim>::max_children_per_face;
27template <int dim>
28constexpr unsigned int GeometryInfo<dim>::vertices_per_cell;
29template <int dim>
30constexpr unsigned int GeometryInfo<dim>::vertices_per_face;
31template <int dim>
32constexpr unsigned int GeometryInfo<dim>::lines_per_face;
33template <int dim>
34constexpr unsigned int GeometryInfo<dim>::quads_per_face;
35template <int dim>
36constexpr unsigned int GeometryInfo<dim>::lines_per_cell;
37template <int dim>
38constexpr unsigned int GeometryInfo<dim>::quads_per_cell;
39template <int dim>
40constexpr unsigned int GeometryInfo<dim>::hexes_per_cell;
41
42template <int dim>
43constexpr std::array<int, GeometryInfo<dim>::faces_per_cell>
45
46template <int dim>
49
50template <int dim>
51constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
53
54template <int dim>
55constexpr std::array<Tensor<1, dim>, GeometryInfo<dim>::faces_per_cell>
57
58template <int dim>
60
62
63template <int dim>
64constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
66
67template <int dim>
68constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
70
71template <int dim>
72constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
74
75const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
77
78const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
80
81template struct GeometryInfo<1>;
82template struct GeometryInfo<2>;
83template struct GeometryInfo<3>;
84template struct GeometryInfo<4>;
85
86template void
88#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
89 (const Point<1> (&)[vertices_per_cell],
90 Tensor<1 - 1, 1> (&)[vertices_per_cell])
91#else
92 (const Point<1> *, Tensor<1 - 1, 1> *)
93#endif
94 ;
95
96template void
98#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
99 (const Point<2> (&)[vertices_per_cell],
100 Tensor<2 - 1, 2> (&)[vertices_per_cell])
101#else
102 (const Point<2> *, Tensor<2 - 1, 2> *)
103#endif
104 ;
105
106template void
108#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
109 (const Point<2> (&vertices)[vertices_per_cell],
110 Tensor<2 - 2, 2> (&forms)[vertices_per_cell])
111#else
112 (const Point<2> *, Tensor<2 - 2, 2> *)
113#endif
114 ;
115
116template void
118#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
119 (const Point<3> (&vertices)[vertices_per_cell],
120 Tensor<3 - 2, 3> (&forms)[vertices_per_cell])
121#else
122 (const Point<3> *, Tensor<3 - 2, 3> *)
123#endif
124 ;
125
126
127template void
129#ifndef DEAL_II_CXX14_CONSTEXPR_BUG
130 (const Point<3> (&vertices)[vertices_per_cell],
131 Tensor<3 - 3, 3> (&forms)[vertices_per_cell])
132#else
133 (const Point<3> *, Tensor<3 - 3, 3> *)
134#endif
135 ;
136
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499
typename internal::ndarray::HelperArray< T, Ns... >::type ndarray
Definition ndarray.h:107