| 1 | #ifndef __LEG_H_ |
| 2 | #define __LEG_H_ |
| 3 | |
| 4 | #include "tbl.h" |
| 5 | |
| 6 | using namespace Lorene ; |
| 7 | |
| 8 | // Legendre n at position x |
| 9 | double leg (int n, double x) ; |
| 10 | |
| 11 | // Norme : |
| 12 | double norme_leg (int) ; |
| 13 | |
| 14 | // Colocation points and weights |
| 15 | void coloc_poids_leg(int, Tbl& coloc, Tbl& weigths) ; |
| 16 | |
| 17 | // Normalisation : |
| 18 | Tbl gamma_leg (int) ; |
| 19 | |
| 20 | // Coefficients : |
| 21 | Tbl coef_leg (const Tbl&) ; |
| 22 | |
| 23 | // Computational routines... |
| 24 | void legendre (int, double&, double&, double&, double&, double&, double&, double) ; |
| 25 | void gauss_lobato_legendre (int, double*, double*, double, int) ; |
| 26 | |
| 27 | #endif |
| 28 |