Loading [MathJax]/extensions/tex2jax.js
ug4
Toggle main menu visibility
ug4
Modules
ugBase
libAlgebra
libDiscretization
libGrid
Plugins
Registry
Scripts
Apps
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
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
v
Enumerations
a
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
x
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
y
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
e
f
g
h
m
n
o
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
Related Symbols
a
b
c
d
f
g
h
i
k
l
m
n
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
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
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
e
g
l
n
o
p
r
s
u
v
y
Typedefs
Enumerations
Enumerator
b
g
l
n
t
y
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
▼
ug4
►
ug4 - Documentation
►
Modules
►
Namespaces
►
Classes
▼
Files
►
File List
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
gauss_quad_edge.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011: G-CSC, Goethe University Frankfurt
3
*
4
* This file is part of UG4.
5
*
6
* UG4 is free software: you can redistribute it and/or modify it under the
7
* terms of the GNU Lesser General Public License version 3 (as published by the
8
* Free Software Foundation) with the following additional attribution
9
* requirements (according to LGPL/GPL v3 §7):
10
*
11
* (1) The following notice must be displayed in the Appropriate Legal Notices
12
* of covered and combined works: "Based on UG4 (www.ug4.org/license)".
13
*
14
* (2) The following notice must be displayed at a prominent place in the
15
* terminal output of covered works: "Based on UG4 (www.ug4.org/license)".
16
*
17
* (3) The following bibliography is recommended for citation and must be
18
* preserved in all covered files:
19
* "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
20
* parallel geometric multigrid solver on hierarchically distributed grids.
21
* Computing and visualization in science 16, 4 (2013), 151-164"
22
* "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
23
* flexible software system for simulating pde based models on high performance
24
* computers. Computing and visualization in science 16, 4 (2013), 165-179"
25
*
26
* This program is distributed in the hope that it will be useful,
27
* but WITHOUT ANY WARRANTY; without even the implied warranty of
28
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
* GNU Lesser General Public License for more details.
30
*/
31
32
// This file is parsed from UG 3.9.
33
// It provides the Gauss Quadratures for a reference edge.
34
35
36
#ifndef __H__UG__LIB_DISCRETIZATION__QUADRATURE__GAUSS_QUADRATURE__EDGE__
37
#define __H__UG__LIB_DISCRETIZATION__QUADRATURE__GAUSS_QUADRATURE__EDGE__
38
39
#include "
gauss_quad.h
"
40
41
namespace
ug
{
42
44
// Implemented GaussQuadrature for ReferenceEdge
46
template
<>
47
class
GaussQuadrature
<
ReferenceEdge
, 1>
48
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 1>, 1, 1, 1>{};
47
class
GaussQuadrature
<
ReferenceEdge
, 1> {
…
};
49
50
template
<>
51
class
GaussQuadrature
<
ReferenceEdge
, 3>
52
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 3>, 1, 3, 2>{};
51
class
GaussQuadrature
<
ReferenceEdge
, 3> {
…
};
53
54
template
<>
55
class
GaussQuadrature
<
ReferenceEdge
, 5>
56
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 5>, 1, 5, 3>{};
55
class
GaussQuadrature
<
ReferenceEdge
, 5> {
…
};
57
58
template
<>
59
class
GaussQuadrature
<
ReferenceEdge
, 7>
60
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 7>, 1, 7, 4>{};
59
class
GaussQuadrature
<
ReferenceEdge
, 7> {
…
};
61
62
template
<>
63
class
GaussQuadrature
<
ReferenceEdge
, 9>
64
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 9>, 1, 9, 5>{};
63
class
GaussQuadrature
<
ReferenceEdge
, 9> {
…
};
65
66
template
<>
67
class
GaussQuadrature
<
ReferenceEdge
, 11>
68
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 11>, 1, 11, 6>{};
67
class
GaussQuadrature
<
ReferenceEdge
, 11> {
…
};
69
70
template
<>
71
class
GaussQuadrature
<
ReferenceEdge
, 13>
72
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 13>, 1, 13, 7>{};
71
class
GaussQuadrature
<
ReferenceEdge
, 13> {
…
};
73
74
template
<>
75
class
GaussQuadrature
<
ReferenceEdge
, 15>
76
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 15>, 1, 15, 8>{};
75
class
GaussQuadrature
<
ReferenceEdge
, 15> {
…
};
77
78
template
<>
79
class
GaussQuadrature
<
ReferenceEdge
, 17>
80
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 17>, 1, 17, 9>{};
79
class
GaussQuadrature
<
ReferenceEdge
, 17> {
…
};
81
82
template
<>
83
class
GaussQuadrature
<
ReferenceEdge
, 19>
84
:
public
GaussQuadBase
<GaussQuadrature<ReferenceEdge, 19>, 1, 19, 10>{};
83
class
GaussQuadrature
<
ReferenceEdge
, 19> {
…
};
85
87
// template wrapper for orders implemented by higher order
89
template
<>
90
class
GaussQuadrature
<
ReferenceEdge
, 18>
91
:
public
GaussQuadrature
<ReferenceEdge, 19>{};
90
class
GaussQuadrature
<
ReferenceEdge
, 18> {
…
};
92
93
template
<>
94
class
GaussQuadrature
<
ReferenceEdge
, 16>
95
:
public
GaussQuadrature
<ReferenceEdge, 17>{};
94
class
GaussQuadrature
<
ReferenceEdge
, 16> {
…
};
96
97
template
<>
98
class
GaussQuadrature
<
ReferenceEdge
, 14>
99
:
public
GaussQuadrature
<ReferenceEdge, 15>{};
98
class
GaussQuadrature
<
ReferenceEdge
, 14> {
…
};
100
101
template
<>
102
class
GaussQuadrature
<
ReferenceEdge
, 12>
103
:
public
GaussQuadrature
<ReferenceEdge, 13>{};
102
class
GaussQuadrature
<
ReferenceEdge
, 12> {
…
};
104
105
template
<>
106
class
GaussQuadrature
<
ReferenceEdge
, 10>
107
:
public
GaussQuadrature
<ReferenceEdge, 11>{};
106
class
GaussQuadrature
<
ReferenceEdge
, 10> {
…
};
108
109
template
<>
110
class
GaussQuadrature
<
ReferenceEdge
, 8>
111
:
public
GaussQuadrature
<ReferenceEdge, 9>{};
110
class
GaussQuadrature
<
ReferenceEdge
, 8> {
…
};
112
113
template
<>
114
class
GaussQuadrature
<
ReferenceEdge
, 6>
115
:
public
GaussQuadrature
<ReferenceEdge, 7>{};
114
class
GaussQuadrature
<
ReferenceEdge
, 6> {
…
};
116
117
template
<>
118
class
GaussQuadrature
<
ReferenceEdge
, 4>
119
:
public
GaussQuadrature
<ReferenceEdge, 5>{};
118
class
GaussQuadrature
<
ReferenceEdge
, 4> {
…
};
120
121
template
<>
122
class
GaussQuadrature
<
ReferenceEdge
, 2>
123
:
public
GaussQuadrature
<ReferenceEdge, 3>{};
122
class
GaussQuadrature
<
ReferenceEdge
, 2> {
…
};
124
125
template
<>
126
class
GaussQuadrature
<
ReferenceEdge
, 0>
127
:
public
GaussQuadrature
<ReferenceEdge, 1>{};
126
class
GaussQuadrature
<
ReferenceEdge
, 0> {
…
};
128
129
};
// namespace ug
130
131
#endif
/* __H__UG__LIB_DISCRETIZATION__QUADRATURE__GAUSS_QUADRATURE__EDGE__ */
132
ug::GaussQuadBase
wrapper to ease implementation
Definition
gauss_quad.h:49
ug::GaussQuadrature
fixed order gauss quadrature
Definition
gauss_quad.h:44
ug::ReferenceEdge
Definition
reference_element.h:345
gauss_quad.h
ug
the ug namespace
ugbase
lib_disc
quadrature
gauss
gauss_quad_edge.h
Generated on Mon Feb 24 2025 01:13:35 for ug4 by
1.9.8