Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
mapping_q1.cc
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2000 - 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 
17 #include <deal.II/base/derivative_form.h>
18 #include <deal.II/base/memory_consumption.h>
19 #include <deal.II/base/qprojector.h>
20 #include <deal.II/base/quadrature.h>
21 #include <deal.II/base/quadrature_lib.h>
22 #include <deal.II/base/std_cxx14/memory.h>
23 #include <deal.II/base/tensor_product_polynomials.h>
24 
25 #include <deal.II/dofs/dof_accessor.h>
26 
27 #include <deal.II/fe/fe.h>
28 #include <deal.II/fe/fe_tools.h>
29 #include <deal.II/fe/fe_values.h>
30 #include <deal.II/fe/mapping_q1.h>
31 
32 #include <deal.II/grid/tria.h>
33 #include <deal.II/grid/tria_iterator.h>
34 
35 #include <deal.II/lac/full_matrix.h>
36 
37 #include <algorithm>
38 #include <array>
39 #include <cmath>
40 #include <memory>
41 
42 
43 DEAL_II_NAMESPACE_OPEN
44 
45 
46 
47 template <int dim, int spacedim>
49  : MappingQGeneric<dim, spacedim>(1)
50 {}
51 
52 
53 
54 template <int dim, int spacedim>
55 std::unique_ptr<Mapping<dim, spacedim>>
57 {
58  return std_cxx14::make_unique<MappingQ1<dim, spacedim>>(*this);
59 }
60 
61 //---------------------------------------------------------------------------
62 
63 
64 template <int dim, int spacedim>
67 
68 
69 
70 //--------------------------- Explicit instantiations -----------------------
71 #include "mapping_q1.inst"
72 
73 
74 DEAL_II_NAMESPACE_CLOSE
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
Definition: mapping_q1.cc:56