Reference documentation for deal.II version 9.1.0-pre
geometry_info.cc
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 2018 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 
16 #include <deal.II/base/geometry_info.h>
17 #include <deal.II/base/tensor.h>
18 
19 DEAL_II_NAMESPACE_OPEN
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<unsigned int, GeometryInfo<dim>::vertices_per_cell>
59 
60 template <int dim>
61 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
63 
64 template <int dim>
65 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
67 
68 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
70 
71 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
73 
74 template struct GeometryInfo<1>;
75 template struct GeometryInfo<2>;
76 template struct GeometryInfo<3>;
77 template struct GeometryInfo<4>;
78 
79 template void
81 #ifndef DEAL_II_CONSTEXPR_BUG
82  (const Point<1> (&)[vertices_per_cell],
83  Tensor<1 - 1, 1> (&)[vertices_per_cell])
84 #else
85  (const Point<1> *, Tensor<1 - 1, 1> *)
86 #endif
87  ;
88 
89 template void
90 GeometryInfo<1>::alternating_form_at_vertices
91 #ifndef DEAL_II_CONSTEXPR_BUG
92  (const Point<2> (&)[vertices_per_cell],
93  Tensor<2 - 1, 2> (&)[vertices_per_cell])
94 #else
95  (const Point<2> *, Tensor<2 - 1, 2> *)
96 #endif
97  ;
98 
99 template void
101 #ifndef DEAL_II_CONSTEXPR_BUG
102  (const Point<2> (&vertices)[vertices_per_cell],
103  Tensor<2 - 2, 2> (&forms)[vertices_per_cell])
104 #else
105  (const Point<2> *, Tensor<2 - 2, 2> *)
106 #endif
107  ;
108 
109 template void
110 GeometryInfo<2>::alternating_form_at_vertices
111 #ifndef DEAL_II_CONSTEXPR_BUG
112  (const Point<3> (&vertices)[vertices_per_cell],
113  Tensor<3 - 2, 3> (&forms)[vertices_per_cell])
114 #else
115  (const Point<3> *, Tensor<3 - 2, 3> *)
116 #endif
117  ;
118 
119 
120 template void
122 #ifndef DEAL_II_CONSTEXPR_BUG
123  (const Point<3> (&vertices)[vertices_per_cell],
124  Tensor<3 - 3, 3> (&forms)[vertices_per_cell])
125 #else
126  (const Point<3> *, Tensor<3 - 3, 3> *)
127 #endif
128  ;
129 
130 DEAL_II_NAMESPACE_CLOSE
Definition: point.h:106
Definition: mpi.h:55