Reference documentation for deal.II version Git 932f7faded 2020-11-28 20:02:43 +0100
\(\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\}}\)
geometry_info.cc
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 2020 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
17 #include <deal.II/base/tensor.h>
18 
20 
21 
22 template <int dim>
23 constexpr unsigned int GeometryInfo<dim>::max_children_per_cell;
24 template <int dim>
25 constexpr unsigned int GeometryInfo<dim>::faces_per_cell;
26 template <int dim>
27 constexpr unsigned int GeometryInfo<dim>::max_children_per_face;
28 template <int dim>
29 constexpr unsigned int GeometryInfo<dim>::vertices_per_cell;
30 template <int dim>
31 constexpr unsigned int GeometryInfo<dim>::vertices_per_face;
32 template <int dim>
33 constexpr unsigned int GeometryInfo<dim>::lines_per_face;
34 template <int dim>
35 constexpr unsigned int GeometryInfo<dim>::quads_per_face;
36 template <int dim>
37 constexpr unsigned int GeometryInfo<dim>::lines_per_cell;
38 template <int dim>
39 constexpr unsigned int GeometryInfo<dim>::quads_per_cell;
40 template <int dim>
41 constexpr unsigned int GeometryInfo<dim>::hexes_per_cell;
42 
43 template <int dim>
44 constexpr std::array<int, GeometryInfo<dim>::faces_per_cell>
46 
47 template <int dim>
48 constexpr std::array<std::array<unsigned int, dim>,
51 
52 template <int dim>
53 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
55 
56 template <int dim>
57 constexpr std::array<Tensor<1, dim>, GeometryInfo<dim>::faces_per_cell>
59 
60 template <int dim>
61 constexpr std::array<std::array<Tensor<1, dim>, dim - 1>,
64 
65 template <int dim>
66 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
68 
69 template <int dim>
70 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
72 
73 template <int dim>
74 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
76 
77 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
79 
80 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
82 
83 template struct GeometryInfo<1>;
84 template struct GeometryInfo<2>;
85 template struct GeometryInfo<3>;
86 template struct GeometryInfo<4>;
87 
88 template void
90 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
91  (const Point<1> (&)[vertices_per_cell],
92  Tensor<1 - 1, 1> (&)[vertices_per_cell])
93 #else
94  (const Point<1> *, Tensor<1 - 1, 1> *)
95 #endif
96  ;
97 
98 template void
99 GeometryInfo<1>::alternating_form_at_vertices
100 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
101  (const Point<2> (&)[vertices_per_cell],
102  Tensor<2 - 1, 2> (&)[vertices_per_cell])
103 #else
104  (const Point<2> *, Tensor<2 - 1, 2> *)
105 #endif
106  ;
107 
108 template void
110 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
111  (const Point<2> (&vertices)[vertices_per_cell],
112  Tensor<2 - 2, 2> (&forms)[vertices_per_cell])
113 #else
114  (const Point<2> *, Tensor<2 - 2, 2> *)
115 #endif
116  ;
117 
118 template void
119 GeometryInfo<2>::alternating_form_at_vertices
120 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
121  (const Point<3> (&vertices)[vertices_per_cell],
122  Tensor<3 - 2, 3> (&forms)[vertices_per_cell])
123 #else
124  (const Point<3> *, Tensor<3 - 2, 3> *)
125 #endif
126  ;
127 
128 
129 template void
131 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
132  (const Point<3> (&vertices)[vertices_per_cell],
133  Tensor<3 - 3, 3> (&forms)[vertices_per_cell])
134 #else
135  (const Point<3> *, Tensor<3 - 3, 3> *)
136 #endif
137  ;
138 
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:372
Point< 3 > vertices[4]
Definition: tensor.h:448
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:371