Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
GaussLegendre_3_1.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_1_H_
9#define model_GAUSSLEGENDRE_3_1_H_
10
11namespace model{
12
13 /**************************************************************************/
14 template <>
15 struct GaussLegendre<3,1>
16 {
17 static Eigen::Matrix<double,4,1> abcsissasAndWeights()
18 {
19 Eigen::Matrix<double,1,4> U;
20 U<< 2.500000000000000e-01, 2.500000000000000e-01, 2.500000000000000e-01, 1.666666666666667e-01;
21 return U.transpose();
22 }
23 };
24}
25#endif
26
static Eigen::Matrix< double, 4, 1 > abcsissasAndWeights()
Class template defining the GaussLegendre rules for determination of quadrature abscissas and weights...