Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
GaussLegendre_1_2.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/*** This file is automatically generated by generateGaussLegendre.cpp ***/
9#ifndef model_GAUSSLEGENDRE_1_2_H_
10#define model_GAUSSLEGENDRE_1_2_H_
11
12namespace model
13{
14
15 template<>
16 struct GaussLegendre<1,2>
17 {
18 static Eigen::Matrix<double,2,2> abcsissasAndWeights()
19 {
20 Eigen::Matrix<double,2,2> aw;
21 aw<<2.113248654051872e-01, 4.999999999999999e-01,
22 7.886751345948129e-01, 4.999999999999999e-01;
23
24 return aw.transpose();
25 }
26 };
27/*************************************************/
28}
29#endif
30
static Eigen::Matrix< double, 2, 2 > abcsissasAndWeights()
Class template defining the GaussLegendre rules for determination of quadrature abscissas and weights...