Flow123d  release_3.0.0-1166-g21aa698
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 class QGauss : public Quadrature {
33 public:
34  /**
35  * @brief Create a formula of given order.
36  *
37  * The formula is exact for polynomials of degree @p order.
38  */
39  QGauss(unsigned int dim, const unsigned int order);
40 };
41 
42 
43 
44 
45 
46 #endif /* QUADRATURE_LIB_HH_ */
unsigned int dim() const
Definition: quadrature.hh:71
Base class for quadrature rules on simplices in arbitrary dimensions.
Definition: quadrature.hh:48
Symmetric Gauss-Legendre quadrature formulae on simplices.
Basic definitions of numerical quadrature rules.
QGauss(unsigned int dim, const unsigned int order)
Create a formula of given order.