Reference documentation for deal.II version Git f102a78320 2021-10-16 14:49:02 -0400
\(\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 - 2021 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>
50 
51 template <int dim>
52 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
54 
55 template <int dim>
56 constexpr std::array<Tensor<1, dim>, GeometryInfo<dim>::faces_per_cell>
58 
59 template <int dim>
61 
63 
64 template <int dim>
65 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
67 
68 template <int dim>
69 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
71 
72 template <int dim>
73 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
75 
76 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
78 
79 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
81 
82 template struct GeometryInfo<1>;
83 template struct GeometryInfo<2>;
84 template struct GeometryInfo<3>;
85 template struct GeometryInfo<4>;
86 
87 template void
89 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
90  (const Point<1> (&)[vertices_per_cell],
91  Tensor<1 - 1, 1> (&)[vertices_per_cell])
92 #else
93  (const Point<1> *, Tensor<1 - 1, 1> *)
94 #endif
95  ;
96 
97 template void
98 GeometryInfo<1>::alternating_form_at_vertices
99 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
100  (const Point<2> (&)[vertices_per_cell],
101  Tensor<2 - 1, 2> (&)[vertices_per_cell])
102 #else
103  (const Point<2> *, Tensor<2 - 1, 2> *)
104 #endif
105  ;
106 
107 template void
109 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
110  (const Point<2> (&vertices)[vertices_per_cell],
111  Tensor<2 - 2, 2> (&forms)[vertices_per_cell])
112 #else
113  (const Point<2> *, Tensor<2 - 2, 2> *)
114 #endif
115  ;
116 
117 template void
118 GeometryInfo<2>::alternating_form_at_vertices
119 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
120  (const Point<3> (&vertices)[vertices_per_cell],
121  Tensor<3 - 2, 3> (&forms)[vertices_per_cell])
122 #else
123  (const Point<3> *, Tensor<3 - 2, 3> *)
124 #endif
125  ;
126 
127 
128 template void
130 #ifndef DEAL_II_CXX14_CONSTEXPR_BUG
131  (const Point<3> (&vertices)[vertices_per_cell],
132  Tensor<3 - 3, 3> (&forms)[vertices_per_cell])
133 #else
134  (const Point<3> *, Tensor<3 - 3, 3> *)
135 #endif
136  ;
137 
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:401
Point< 3 > vertices[4]
Definition: tensor.h:506
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:400
typename internal::ndarray::HelperArray< T, Ns... >::type ndarray
Definition: ndarray.h:108