Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
tri_qr.h
1 // ==========================================================================
2 // TOAST v.15 (c) Martin Schweiger 1999
3 // Library: libfe
4 // File: tri_qr
5 //
6 // Quadrature rules over the local triangle, defined by
7 // xi >= 0 && eta >= 0 && xi+eta <= 1
8 // with vertices at (0,0), (1,0), (0,1)
9 // All rules are from www.cs.kuleuven.ac.be/~nines/research/ecf/Formules
10 // Login: cubature, passwd: kepler15
11 // ==========================================================================
12 
13 // All quadrature rules return the weights in array 'wght', the integration
14 // abscissae in array 'absc', and the number of points as the function
15 // return value
16 
17 #ifndef __TRI_QR_H
18 #define __TRI_QR_H
19 
20 #include <math.h>
21 #include "point.h"
22 
23 FELIB int QRule_tri_1_1 (const double **wght, const Point **absc);
24 // Degree: 1, Points: 1
25 // Ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-1-1s.html
26 
27 FELIB int QRule_tri_2_3 (const double **wght, const Point **absc);
28 // Degree: 2, Points: 3
29 // Ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-2-3as.html
30 
31 FELIB int QRule_tri_3_6 (const double **wght, const Point **absc);
32 // Degree: 3, Points: 6
33 // Ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-3-6cs.html
34 
35 FELIB int QRule_tri_4_6 (const double **wght, const Point **absc);
36 // Degree: 4, Points: 6
37 // ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-4-6as.html
38 
39 FELIB int QRule_tri_4_9 (const double **wght, const Point **absc);
40 // Degree: 4, Points: 9
41 // Ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-4-9al.html
42 
43 FELIB int QRule_tri_5_7 (const double **wght, const Point **absc);
44 // Degree: 5, Points: 7
45 // ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-5-7s.html
46 
47 FELIB int QRule_tri_6_12 (const double **wght, const Point **absc);
48 // Degree: 6, Points: 12
49 // ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-6-12as.html
50 
51 FELIB int QRule_tri_7_12 (const double **wght, const Point **absc);
52 // Degree: 7, Points: 12
53 // ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-7-12s.html
54 
55 FELIB int QRule_tri_7_15 (const double **wght, const Point **absc);
56 // Degree: 7, Points: 15
57 // ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-7-15s.html
58 
59 FELIB int QRule_tri_9_19 (const double **wght, const Point **absc);
60 // Degree: 9, Points: 19
61 // ref: www.cs.kuleuven.ac.be/~nines/research/ecf/Formules/t2-9-19s.html
62 
63 #endif // !__TRI_QR_H
Definition: point.h:18