1 #ifndef DUNE_FEM_PYRAMIDPOINTS_HH 2 #define DUNE_FEM_PYRAMIDPOINTS_HH 4 #include <dune/common/fvector.hh> 29 const FieldVector<double, 3>&
point(
int m,
int i)
const 62 G[m][0][0] =0.58541020;
63 G[m][0][1] =0.72819660;
64 G[m][0][2] =0.13819660;
66 G[m][1][0] =0.13819660;
67 G[m][1][1] =0.72819660;
68 G[m][1][2] =0.13819660;
70 G[m][2][0] =0.13819660;
71 G[m][2][1] =0.27630920;
72 G[m][2][2] =0.58541020;
74 G[m][3][0] =0.13819660;
75 G[m][3][1] =0.27630920;
76 G[m][3][2] =0.13819660;
78 G[m][4][0] =0.72819660;
79 G[m][4][1] =0.13819660;
80 G[m][4][2] =0.13819660;
82 G[m][5][0] =0.72819660;
83 G[m][5][1] =0.58541020;
84 G[m][5][2] =0.13819660;
86 G[m][6][0] =0.27630920;
87 G[m][6][1] =0.13819660;
88 G[m][6][2] =0.58541020;
90 G[m][7][0] =0.27630920;
91 G[m][7][1] =0.13819660;
92 G[m][7][2] =0.13819660;
94 W[m][0] = 0.041666667;
95 W[m][1] = 0.041666667;
96 W[m][2] = 0.041666667;
97 W[m][3] = 0.041666667;
98 W[m][4] = 0.041666667;
99 W[m][5] = 0.041666667;
100 W[m][6] = 0.041666667;
101 W[m][7] = 0.041666667;
119 #endif // #ifndef DUNE_FEM_PYRAMIDPOINTS_HH
double weight(int m, int i) const
Access to the ith weight of quadrature rule m.
Definition: pyramidpoints.hh:35
Definition: pyramidpoints.hh:20
Definition: pyramidpoints.hh:19
int numPoints(int m) const
Number of points in the quadrature rule m.
Definition: pyramidpoints.hh:47
Definition: coordinate.hh:4
Definition: pyramidpoints.hh:18
const FieldVector< double, 3 > & point(int m, int i) const
Access to the ith point of quadrature rule m.
Definition: pyramidpoints.hh:29
int order(int m) const
Actual order of quadrature rule m.
Definition: pyramidpoints.hh:41
static const PyramidPoints & instance()
Access to the singleton object.
Definition: pyramidpoints.hh:23
Definition: pyramidpoints.hh:15