Reference documentation for deal.II version 9.0.0
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 at
12 // the top level of the deal.II distribution.
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> constexpr unsigned int GeometryInfo<dim>::max_children_per_cell;
23 template <int dim> constexpr unsigned int GeometryInfo<dim>::faces_per_cell;
24 template <int dim> constexpr unsigned int GeometryInfo<dim>::max_children_per_face;
25 template <int dim> constexpr unsigned int GeometryInfo<dim>::vertices_per_cell;
26 template <int dim> constexpr unsigned int GeometryInfo<dim>::vertices_per_face;
27 template <int dim> constexpr unsigned int GeometryInfo<dim>::lines_per_face;
28 template <int dim> constexpr unsigned int GeometryInfo<dim>::quads_per_face;
29 template <int dim> constexpr unsigned int GeometryInfo<dim>::lines_per_cell;
30 template <int dim> constexpr unsigned int GeometryInfo<dim>::quads_per_cell;
31 template <int dim> constexpr unsigned int GeometryInfo<dim>::hexes_per_cell;
32 
33 template <int dim>
34 constexpr std::array<int, GeometryInfo<dim>::faces_per_cell>
36 
37 template <int dim>
38 constexpr std::array<std::array<unsigned int, dim>, GeometryInfo<dim>::vertices_per_cell>
40 
41 template <int dim>
42 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
44 
45 template <int dim>
46 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
48 
49 template <int dim>
50 constexpr std::array<unsigned int, GeometryInfo<dim>::faces_per_cell>
52 
53 template <int dim>
54 constexpr std::array<unsigned int, GeometryInfo<dim>::vertices_per_cell>
56 
57 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
59 
60 const std::array<unsigned int, GeometryInfo<0>::vertices_per_cell>
62 
63 template struct GeometryInfo<1>;
64 template struct GeometryInfo<2>;
65 template struct GeometryInfo<3>;
66 template struct GeometryInfo<4>;
67 
68 template
69 void
71 alternating_form_at_vertices
72 #ifndef DEAL_II_CONSTEXPR_BUG
73 (const Point<1> (&)[vertices_per_cell],
74  Tensor<1-1,1> (&)[vertices_per_cell])
75 #else
76 (const Point<1> *, Tensor<1-1,1> *)
77 #endif
78 ;
79 
80 template
81 void
83 alternating_form_at_vertices
84 #ifndef DEAL_II_CONSTEXPR_BUG
85 (const Point<2> (&)[vertices_per_cell],
86  Tensor<2-1,2> (&)[vertices_per_cell])
87 #else
88 (const Point<2> *, Tensor<2-1,2> *)
89 #endif
90 ;
91 
92 template
93 void
95 alternating_form_at_vertices
96 #ifndef DEAL_II_CONSTEXPR_BUG
97 (const Point<2> (&vertices)[vertices_per_cell],
98  Tensor<2-2,2> (&forms)[vertices_per_cell])
99 #else
100 (const Point<2> *, Tensor<2-2,2> *)
101 #endif
102 ;
103 
104 template
105 void
107 alternating_form_at_vertices
108 #ifndef DEAL_II_CONSTEXPR_BUG
109 (const Point<3> (&vertices)[vertices_per_cell],
110  Tensor<3-2,3> (&forms)[vertices_per_cell])
111 #else
112 (const Point<3> *, Tensor<3-2,3> *)
113 #endif
114 ;
115 
116 
117 template
118 void
120 alternating_form_at_vertices
121 #ifndef DEAL_II_CONSTEXPR_BUG
122 (const Point<3> (&vertices)[vertices_per_cell],
123  Tensor<3-3,3> (&forms)[vertices_per_cell])
124 #else
125 (const Point<3> *, Tensor<3-3,3> *)
126 #endif
127 ;
128 
129 DEAL_II_NAMESPACE_CLOSE
Definition: point.h:104
Definition: mpi.h:53