File: leg.h

package info (click to toggle)
lorene 0.0.0~cvs20161116%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 26,444 kB
  • ctags: 13,953
  • sloc: cpp: 212,946; fortran: 21,645; makefile: 1,750; sh: 4
file content (28 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __LEG_H_
#define __LEG_H_

#include "tbl.h"

using namespace Lorene ;

// Legendre n at position x
double leg (int n, double x) ;

// Norme :
double norme_leg (int) ;

// Colocation points and weights
void coloc_poids_leg(int, Tbl& coloc, Tbl& weigths) ;

// Normalisation :
Tbl gamma_leg (int) ;

// Coefficients :
Tbl coef_leg (const Tbl&) ;

// Computational routines...
void legendre (int, double&, double&, double&, double&, double&, double&, double) ;
void gauss_lobato_legendre (int, double*, double*, double, int) ;

#endif