Calculate data for Gauss integration. More...
Public Member Functions | |
Gauss () | |
Default constructor. | |
Gauss (size_t np) | |
Constructor using number of Gauss points. More... | |
void | setNbPoints (size_t np) |
Set number of integration points. | |
void | setTriangle (LocalVect< real_t, 7 > &w, LocalVect< Point< real_t >, 7 > &x) |
Choose integration on triangle (7-point formula) More... | |
real_t | x (size_t i) const |
Return coordinate of i -th Gauss-Legendre point. | |
const Point< real_t > & | xt (size_t i) const |
Return coordinates of points in the reference triangle. | |
real_t | w (size_t i) const |
Return weight of i -th Gauss-Legendre point. | |
Calculate data for Gauss integration.
Gauss | ( | size_t | np | ) |
Constructor using number of Gauss points.
[in] | np | Number of integration points |
Choose integration on triangle (7-point formula)
If this is not selected, Gauss integration formula on [-1,1]
is calculated.
[out] | w | Array of weights of integration points |
[out] | x | Array of coordinates of integration points |