9#include <kernel/cubature/driver_base.hpp>
10#include <kernel/util/meta_math.hpp>
25 template<
typename Shape_>
45 rule.get_weight(off) = w;
46 rule.get_coord(off, 0) = x0;
47 rule.get_coord(off, 1) = x0;
63 rule.get_weight(off) = w;
64 rule.get_coord(off, 0) = x0;
65 rule.get_coord(off, 1) = x1;
66 rule.get_weight(++off) = w;
67 rule.get_coord(off, 0) = x1;
68 rule.get_coord(off, 1) = x0;
69 rule.get_weight(++off) = w;
70 rule.get_coord(off, 0) = x1;
71 rule.get_coord(off, 1) = x1;
88 rule.get_weight(off) = w;
89 rule.get_coord(off, 0) = x0;
90 rule.get_coord(off, 1) = x1;
91 rule.get_weight(++off) = w;
92 rule.get_coord(off, 0) = x1;
93 rule.get_coord(off, 1) = x2;
94 rule.get_weight(++off) = w;
95 rule.get_coord(off, 0) = x2;
96 rule.get_coord(off, 1) = x0;
97 rule.get_weight(++off) = w;
98 rule.get_coord(off, 0) = x1;
99 rule.get_coord(off, 1) = x0;
100 rule.get_weight(++off) = w;
101 rule.get_coord(off, 0) = x2;
102 rule.get_coord(off, 1) = x1;
103 rule.get_weight(++off) = w;
104 rule.get_coord(off, 0) = x0;
105 rule.get_coord(off, 1) = x2;
Cubature Rule class template.
static int fill_sym3(Rule< Shape::Simplex< 2 >, Weight_, Coord_, Point_ > &rule, int off, Weight_ w, Coord_ x0, Coord_ x1, Coord_ x2)
Adds the six permutations of the barycentric point (x0,x1,x2) to the rule.
static int fill_sym1(Rule< Shape::Simplex< 2 >, Weight_, Coord_, Point_ > &rule, int off, Weight_ w, Coord_ x0)
Adds the one permutation of the barycentric point (x0,x0,x0) to the rule.
static int fill_sym2(Rule< Shape::Simplex< 2 >, Weight_, Coord_, Point_ > &rule, int off, Weight_ w, Coord_ x0, Coord_ x1)
Adds the three permutations of the barycentric point (x0,x1,x1) to the rule.
Symmetric Simplex Driver helper class.
Simplex shape tag struct template.