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