Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
GaussLegendre_3_5.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_3_5_H_
9#define model_GAUSSLEGENDRE_3_5_H_
10
11namespace model{
12
14 template <>
15 struct GaussLegendre<3,5> {
16 static Eigen::Matrix<double,4,5> abcsissasAndWeights(){
17 Eigen::Matrix<double,4,5> U;
18 U(0,0)= 2.500000000000000e-01; U(3,0)= -1.333333333333333e-01;
19 U(1,0)= 2.500000000000000e-01;
20 U(2,0)= 2.500000000000000e-01;
21
22 U(0,1)= 1.666666666666667e-01; U(3,1)= 7.500000000000000e-02;
23 U(1,1)= 1.666666666666667e-01;
24 U(2,1)= 1.666666666666667e-01;
25
26 U(0,2)= 1.666666666666667e-01; U(3,2)= 7.500000000000000e-02;
27 U(1,2)= 5.000000000000000e-01;
28 U(2,2)= 1.666666666666667e-01;
29
30 U(0,3)= 1.666666666666667e-01; U(3,3)= 7.500000000000000e-02;
31 U(1,3)= 1.666666666666667e-01;
32 U(2,3)= 5.000000000000000e-01;
33
34 U(0,4)= 5.000000000000000e-01; U(3,4)= 7.500000000000000e-02;
35 U(1,4)= 1.666666666666667e-01;
36 U(2,4)= 1.666666666666667e-01;
37 return U;
38 }
39 };
40/*************************************************/
41}
42#endif
43
static Eigen::Matrix< double, 4, 5 > abcsissasAndWeights()
Class template defining the GaussLegendre rules for determination of quadrature abscissas and weights...