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. | |
Detailed Description
Calculate data for Gauss integration.
- Author
- Rachid Touzani
- Copyright
- GNU Lesser Public License
Constructor & Destructor Documentation
| Gauss | ( | size_t | np | ) |
Constructor using number of Gauss points.
- Parameters
-
[in] np Number of integration points
Member Function Documentation
Choose integration on triangle (7-point formula)
If this is not selected, Gauss integration formula on [-1,1] is calculated.
- Parameters
-
[out] w Array of weights of integration points [out] x Array of coordinates of integration points