Flow123d  release_2.2.0-23-g01927c6
quadrature_lib.hh
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file quadrature_lib.hh
15  * @brief Definitions of particular quadrature rules on simplices.
16  * @author Jan Stebel
17  */
18 
19 #ifndef QUADRATURE_LIB_HH_
20 #define QUADRATURE_LIB_HH_
21 
22 #include "quadrature/quadrature.hh"
23 
24 
25 /**
26  * @brief Symmetric Gauss-Legendre quadrature formulae on simplices.
27  *
28  * Symmetric Gauss-Legendre quadrature on a @p dim dimensional simplex.
29  * The coefficients are taken from Parallel Hierarchical Grid project.
30  *
31  */
32 template<unsigned int dim>
33 class QGauss : public Quadrature<dim> {
34 public:
35  /**
36  * @brief Create a formula of given order.
37  *
38  * The formula is exact for polynomials of degree @p order.
39  */
40  QGauss(const unsigned int order);
41 };
42 
43 
44 
45 
46 
47 #endif /* QUADRATURE_LIB_HH_ */
Base class for quadrature rules on simplices in arbitrary dimensions.
Definition: fe_values.hh:31
Symmetric Gauss-Legendre quadrature formulae on simplices.
Basic definitions of numerical quadrature rules.
QGauss(const unsigned int order)
Create a formula of given order.