Manicore
Library to implement schemes on n-dimensionnal manifolds.
triangle_dunavant_rule.hpp
Go to the documentation of this file.
1 // Licensing:
2 //
3 // This code is distributed under the GNU LGPL license.
4 //
5 // Modified:
6 //
7 // 11 December 2006
8 //
9 // Author:
10 //
11 // John Burkardt
12 //
13 // Reference:
14 //
15 // David Dunavant,
16 // High Degree Efficient Symmetrical Gaussian Quadrature Rules
17 // for the Triangle,
18 // International Journal for Numerical Methods in Engineering,
19 // Volume 21, 1985, pages 1129-1148.
20 //
21 // James Lyness, Dennis Jespersen,
22 // Moderate Degree Symmetric Quadrature Rules for the Triangle,
23 // Journal of the Institute of Mathematics and its Applications,
24 // Volume 15, Number 1, February 1975, pages 19-32.
25 
26 int dunavant_degree ( int rule );
27 int dunavant_order_num ( int rule );
28 void dunavant_rule ( int rule, int order_num, double xy[], double w[] );
29 int dunavant_rule_num ( );
30 int *dunavant_suborder ( int rule, int suborder_num );
31 int dunavant_suborder_num ( int rule );
32 void dunavant_subrule ( int rule, int suborder_num, double suborder_xyz[],
33  double suborder_w[] );
34 void dunavant_subrule_01 ( int suborder_num, double suborder_xyz[],
35  double suborder_w[] );
36 void dunavant_subrule_02 ( int suborder_num, double suborder_xyz[],
37  double suborder_w[] );
38 void dunavant_subrule_03 ( int suborder_num, double suborder_xyz[],
39  double suborder_w[] );
40 void dunavant_subrule_04 ( int suborder_num, double suborder_xyz[],
41  double suborder_w[] );
42 void dunavant_subrule_05 ( int suborder_num, double suborder_xyz[],
43  double suborder_w[] );
44 void dunavant_subrule_06 ( int suborder_num, double suborder_xyz[],
45  double suborder_w[] );
46 void dunavant_subrule_07 ( int suborder_num, double suborder_xyz[],
47  double suborder_w[] );
48 void dunavant_subrule_08 ( int suborder_num, double suborder_xyz[],
49  double suborder_w[] );
50 void dunavant_subrule_09 ( int suborder_num, double suborder_xyz[],
51  double suborder_w[] );
52 void dunavant_subrule_10 ( int suborder_num, double suborder_xyz[],
53  double suborder_w[] );
54 void dunavant_subrule_11 ( int suborder_num, double suborder_xyz[],
55  double suborder_w[] );
56 void dunavant_subrule_12 ( int suborder_num, double suborder_xyz[],
57  double suborder_w[] );
58 void dunavant_subrule_13 ( int suborder_num, double suborder_xyz[],
59  double suborder_w[] );
60 void dunavant_subrule_14 ( int suborder_num, double suborder_xyz[],
61  double suborder_w[] );
62 void dunavant_subrule_15 ( int suborder_num, double suborder_xyz[],
63  double suborder_w[] );
64 void dunavant_subrule_16 ( int suborder_num, double suborder_xyz[],
65  double suborder_w[] );
66 void dunavant_subrule_17 ( int suborder_num, double suborder_xyz[],
67  double suborder_w[] );
68 void dunavant_subrule_18 ( int suborder_num, double suborder_xyz[],
69  double suborder_w[] );
70 void dunavant_subrule_19 ( int suborder_num, double suborder_xyz[],
71  double suborder_w[] );
72 void dunavant_subrule_20 ( int suborder_num, double suborder_xyz[],
73  double suborder_w[] );
74 int i4_max ( int i1, int i2 );
75 int i4_min ( int i1, int i2 );
76 int i4_modp ( int i, int j );
77 int i4_wrap ( int ival, int ilo, int ihi );
78 double r8_huge ( );
79 int r8_nint ( double x );
80 void reference_to_physical_t3 ( double t[], int n, double ref[], double phy[] );
81 int s_len_trim ( char *s );
82 void timestamp ( );
83 double triangle_area ( double t[2*3] );
84 
void dunavant_subrule_06(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1043
double triangle_area(double t[2 *3])
Definition: triangle_dunavant_rule.cpp:2614
int i4_modp(int i, int j)
Definition: triangle_dunavant_rule.cpp:2255
void dunavant_subrule_09(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1245
int dunavant_suborder_num(int rule)
Definition: triangle_dunavant_rule.cpp:530
int dunavant_order_num(int rule)
Definition: triangle_dunavant_rule.cpp:74
void timestamp()
Definition: simplex_gm_rule.cpp:1593
void dunavant_subrule_17(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1839
void dunavant_subrule_11(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1385
void reference_to_physical_t3(double t[], int n, double ref[], double phy[])
Definition: triangle_dunavant_rule.cpp:2493
void dunavant_subrule_03(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:849
void dunavant_subrule_02(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:786
void dunavant_subrule_20(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:2091
int i4_max(int i1, int i2)
Definition: simplex_gm_rule.cpp:556
void dunavant_rule(int rule, int order_num, double xy[], double w[])
Definition: triangle_dunavant_rule.cpp:136
int dunavant_degree(int rule)
Definition: triangle_dunavant_rule.cpp:16
void dunavant_subrule_18(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1921
int * dunavant_suborder(int rule, int suborder_num)
Definition: triangle_dunavant_rule.cpp:292
void dunavant_subrule_10(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1315
int r8_nint(double x)
Definition: triangle_dunavant_rule.cpp:2439
void dunavant_subrule(int rule, int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:626
int s_len_trim(char *s)
Definition: triangle_dunavant_rule.cpp:2568
void dunavant_subrule_05(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:977
double r8_huge()
Definition: triangle_dunavant_rule.cpp:2405
void dunavant_subrule_13(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1530
void dunavant_subrule_01(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:723
void dunavant_subrule_08(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1176
void dunavant_subrule_15(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1682
int i4_wrap(int ival, int ilo, int ihi)
Definition: triangle_dunavant_rule.cpp:2332
void dunavant_subrule_12(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1457
void dunavant_subrule_04(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:913
int i4_min(int i1, int i2)
Definition: simplex_gm_rule.cpp:597
void dunavant_subrule_19(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:2006
void dunavant_subrule_07(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1109
int dunavant_rule_num()
Definition: triangle_dunavant_rule.cpp:246
void dunavant_subrule_14(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1606
void dunavant_subrule_16(int suborder_num, double suborder_xyz[], double suborder_w[])
Definition: triangle_dunavant_rule.cpp:1759