Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gauss_quad_vertex.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2013: 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 vertex.
34
35#ifndef __H__UG__LIB_DISC__QUADRATURE__GAUSS_QUAD__GAUSS_QUAD_VERTEX__
36#define __H__UG__LIB_DISC__QUADRATURE__GAUSS_QUAD__GAUSS_QUAD_VERTEX__
37
38#include "gauss_quad.h"
39
40namespace ug{
41
42
43// TODO: This class might be superfluous now that the specializations below exist.
45{
46 public:
49 m_order = 20; // something large
50 m_numPoints = 1;
51 m_vPoint[0][0] = 0.000000000000000000;
52 m_vWeight[0] = 1.000000000000000000;
53 m_pvPoint = &m_vPoint[0];
55 }
56
57 protected:
60
63};
64
65
66template <>
68: public GaussQuadBase<GaussQuadrature<ReferenceVertex, 0>, 0, 0, 1> {};
69
70
71template <>
73: public GaussQuadrature<ReferenceVertex, 0> {};
74
75template <>
77: public GaussQuadrature<ReferenceVertex, 0> {};
78
79template <>
81: public GaussQuadrature<ReferenceVertex, 0> {};
82
83template <>
85: public GaussQuadrature<ReferenceVertex, 0> {};
86
87template <>
89: public GaussQuadrature<ReferenceVertex, 0> {};
90
91template <>
93: public GaussQuadrature<ReferenceVertex, 0> {};
94
95template <>
97: public GaussQuadrature<ReferenceVertex, 0> {};
98
99template <>
101: public GaussQuadrature<ReferenceVertex, 0> {};
102
103template <>
105: public GaussQuadrature<ReferenceVertex, 0> {};
106
107template <>
109: public GaussQuadrature<ReferenceVertex, 0> {};
110
111template <>
113: public GaussQuadrature<ReferenceVertex, 0> {};
114
115template <>
117: public GaussQuadrature<ReferenceVertex, 0> {};
118
119template <>
121: public GaussQuadrature<ReferenceVertex, 0> {};
122
123template <>
125: public GaussQuadrature<ReferenceVertex, 0> {};
126
127template <>
129: public GaussQuadrature<ReferenceVertex, 0> {};
130
131template <>
133: public GaussQuadrature<ReferenceVertex, 0> {};
134
135template <>
137: public GaussQuadrature<ReferenceVertex, 0> {};
138
139template <>
141: public GaussQuadrature<ReferenceVertex, 0> {};
142
143template <>
145: public GaussQuadrature<ReferenceVertex, 0> {};
146
147}; // namespace ug
148
149
150#endif //__H__UG__LIB_DISC__QUADRATURE__GAUSS_QUAD__GAUSS_QUAD_VERTEX__
wrapper to ease implementation
Definition gauss_quad.h:49
fixed order gauss quadrature
Definition gauss_quad.h:44
Definition gauss_quad_vertex.h:45
number m_vWeight[1]
weights
Definition gauss_quad_vertex.h:62
GaussQuadratureVertex()
Constructor.
Definition gauss_quad_vertex.h:48
MathVector< dim > m_vPoint[1]
integration points
Definition gauss_quad_vertex.h:59
a mathematical Vector with N entries.
Definition math_vector.h:97
provides quadrature rule for a Reference Dimension
Definition quadrature.h:70
size_t m_numPoints
number of points
Definition quadrature.h:120
const number * m_pvWeight
Weights.
Definition quadrature.h:119
const MathVector< dim > * m_pvPoint
Integration points.
Definition quadrature.h:118
int m_order
Order of rule.
Definition quadrature.h:121
Definition reference_element.h:303
double number
Definition types.h:124
the ug namespace