Gauss Class Reference
Calculate data for Gauss integration. More...
Public Member Functions | |
| Gauss () | |
| Default constructor. | |
| Gauss (size_t np) | |
| Constructor using number of Gauss points. | |
| void | setTriangle (LocalVect< double, 7 > &w, LocalVect< Point< double >, 7 > &x) |
| Choose integration on triangle (7-point formula) | |
| double | x (size_t i) const |
| Return coordinate of i-th Gauss-Legendre point. | |
| const Point< double > & | xt (size_t i) const |
| Return coordinates of points in the reference triangle. | |
| double | w (size_t i) const |
| Return weight of i-th Gauss-Legendre point. | |
Detailed Description
Calculate data for Gauss integration.
Member Function Documentation
| void setTriangle | ( | LocalVect< double, 7 > & | w, |
| LocalVect< Point< double >, 7 > & | x | ||
| ) |
Choose integration on triangle (7-point formula)
If this is not selected, Gauss integration formula on [-1,1] is calculated.
- OFELI
- Gauss
Copyright © 1998-2012 Rachid Touzani