Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
GaussLegendre_2_3.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_2_3_H_
9#define model_GAUSSLEGENDRE_2_3_H_
10
11namespace model{
12
13 template <>
14 struct GaussLegendre<2,3>
15 {
16 static Eigen::Matrix<double,3,3> abcsissasAndWeights()
17 {
18 Eigen::Matrix<double,3,3> U;
19 U(0,0)= 1.666666666666667e-01; U(2,0)= 1.666666666666667e-01;
20 U(1,0)= 1.666666666666667e-01;
21 U(0,1)= 6.666666666666667e-01; U(2,1)= 1.666666666666667e-01;
22 U(1,1)= 1.666666666666667e-01;
23 U(0,2)= 1.666666666666667e-01; U(2,2)= 1.666666666666667e-01;
24 U(1,2)= 6.666666666666667e-01;
25 return U;
26 }
27 };
28}
29#endif
30
static Eigen::Matrix< double, 3, 3 > abcsissasAndWeights()
Class template defining the GaussLegendre rules for determination of quadrature abscissas and weights...