Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
GaussLegendre.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_GAUSSLEGENDRE_H_
9#define model_GAUSSLEGENDRE_H_
10
11#include <assert.h>
14
15namespace model
16{
17
18 /**************************************************/
19 /* GaussLegendre: general case */
20 /**************************************************/
24 template<short unsigned int dim, size_t qOrder>
26 {
27
28 };
29
30 /* Template specialization for cases not included in includeGaussLegendre1D.h
31 */
32 template<size_t qOrder>
33 struct GaussLegendre<1,qOrder>
34 {
35
36 static Eigen::Matrix<double,2,qOrder> abcsissasAndWeights()
37 {
38 return QuadratureRecursiveRelation::template abcsissasAndWeights<GaussLegendreRecursiveRelation>(qOrder);
39 }
40
41 };
42
43} // namespace model
44
45//#include <includeGaussLegendre1D.h>
48
49#endif
50
static Eigen::Matrix< double, 2, qOrder > abcsissasAndWeights()
Class template defining the GaussLegendre rules for determination of quadrature abscissas and weights...