Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
include
Quadrature
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
11
namespace
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
model
Definition
DD_converter.dox:2
model::GaussLegendre< 3, 1 >::abcsissasAndWeights
static Eigen::Matrix< double, 4, 1 > abcsissasAndWeights()
Definition
GaussLegendre_3_1.h:17
model::GaussLegendre
Class template defining the GaussLegendre rules for determination of quadrature abscissas and weights...
Definition
GaussLegendre.h:26
Generated by
1.15.0