Reference documentation for deal.II version 9.0.0
source
fe
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 at
12
// the top level of the deal.II distribution.
13
//
14
// ---------------------------------------------------------------------
15
16
17
#include <deal.II/base/derivative_form.h>
18
#include <deal.II/base/quadrature.h>
19
#include <deal.II/base/qprojector.h>
20
#include <deal.II/base/quadrature_lib.h>
21
#include <deal.II/base/tensor_product_polynomials.h>
22
#include <deal.II/base/memory_consumption.h>
23
#include <deal.II/base/std_cxx14/memory.h>
24
#include <deal.II/lac/full_matrix.h>
25
#include <deal.II/grid/tria.h>
26
#include <deal.II/grid/tria_iterator.h>
27
#include <deal.II/dofs/dof_accessor.h>
28
#include <deal.II/fe/fe_tools.h>
29
#include <deal.II/fe/fe.h>
30
#include <deal.II/fe/fe_values.h>
31
#include <deal.II/fe/mapping_q1.h>
32
33
#include <cmath>
34
#include <algorithm>
35
#include <array>
36
#include <memory>
37
38
39
DEAL_II_NAMESPACE_OPEN
40
41
42
43
44
template
<
int
dim,
int
spacedim>
45
MappingQ1<dim,spacedim>::MappingQ1
()
46
:
47
MappingQGeneric
<dim,spacedim> (1)
48
{}
49
50
51
52
template
<
int
dim,
int
spacedim>
53
std::unique_ptr<Mapping<dim,spacedim> >
54
MappingQ1<dim,spacedim>::clone
()
const
55
{
56
return
std_cxx14::make_unique<MappingQ1<dim,spacedim>>(*this);
57
}
58
59
//---------------------------------------------------------------------------
60
61
62
template
<
int
dim,
int
spacedim>
63
MappingQGeneric<dim,spacedim>
64
StaticMappingQ1<dim,spacedim>::mapping
=
MappingQGeneric<dim,spacedim>
(1);
65
66
67
68
//--------------------------- Explicit instantiations -----------------------
69
#include "mapping_q1.inst"
70
71
72
DEAL_II_NAMESPACE_CLOSE
MappingQ1::MappingQ1
MappingQ1()
Definition:
mapping_q1.cc:45
MappingQ1::clone
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
Definition:
mapping_q1.cc:54
MappingQGeneric
Definition:
mapping_q_generic.h:128
StaticMappingQ1
Definition:
mapping_q1.h:87
Generated by
1.8.14