Loading [MathJax]/extensions/TeX/AMSsymbols.js
Reference documentation for deal.II version 9.0.0
Main Page
Tutorial
Code gallery
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
a
b
c
e
f
i
l
n
o
p
r
s
t
u
v
z
+
Typedefs
b
g
m
p
s
v
Enumerations
+
Enumerator
a
c
d
e
g
h
i
l
m
n
o
p
s
t
u
v
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
+
Enumerations
a
b
c
d
e
f
i
m
o
p
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Related Functions
:
a
b
c
d
f
i
l
m
o
p
r
s
t
u
v
Related Pages
+
Files
File List
+
File Members
+
All
d
e
f
i
o
s
t
u
+
Functions
d
e
f
i
o
s
t
u
Enumerations
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
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