9#include <kernel/cubature/scalar/driver_base.hpp>
60 rule.get_coord(0) = Coord_(0);
62 rule.get_weight(0) = Weight_(2);
66 rule.get_coord(0) = -Coord_(1) / Coord_(2);
67 rule.get_coord(1) = Coord_(1) / Coord_(2);
69 rule.get_weight(0) = Weight_(1);
70 rule.get_weight(1) = Weight_(1);
74 rule.get_coord(0) = -Coord_(2) / Coord_(3);
75 rule.get_coord(1) = Coord_(0);
76 rule.get_coord(2) = Coord_(2) / Coord_(3);
78 rule.get_weight(0) = Weight_(3) / Weight_(4);
79 rule.get_weight(1) = Weight_(1) / Weight_(2);
80 rule.get_weight(2) = Weight_(3) / Weight_(4);
84 rule.get_coord(0) = -Coord_(3) / Coord_(4);
85 rule.get_coord(1) = -Coord_(1) / Coord_(4);
86 rule.get_coord(2) = Coord_(1) / Coord_(4);
87 rule.get_coord(3) = Coord_(3) / Coord_(4);
89 rule.get_weight(0) = Weight_(13) / Weight_(24);
90 rule.get_weight(1) = Weight_(11) / Weight_(24);
91 rule.get_weight(2) = Weight_(11) / Weight_(24);
92 rule.get_weight(3) = Weight_(13) / Weight_(24);
96 rule.get_coord(0) = -Coord_(4) / Coord_(5);
97 rule.get_coord(1) = -Coord_(2) / Coord_(5);
98 rule.get_coord(2) = Coord_(0);
99 rule.get_coord(3) = Coord_(2) / Coord_(5);
100 rule.get_coord(4) = Coord_(4) / Coord_(5);
102 rule.get_weight(0) = Weight_(275) / Weight_(576);
103 rule.get_weight(1) = Weight_(100) / Weight_(576);
104 rule.get_weight(2) = Weight_(402) / Weight_(576);
105 rule.get_weight(3) = Weight_(100) / Weight_(576);
106 rule.get_weight(4) = Weight_(275) / Weight_(576);
Scalar cubature driver base class.
Maclaurin Rule driver class template.
static String name()
Returns the name of the cubature rule.
static constexpr int min_points
this rule has at least 1 points
static constexpr int max_points
this rule has at most 5 points
static constexpr bool variadic
this rule is variadic
static void fill(Rule< Weight_, Coord_ > &rule, int num_points)
Fills the cubature rule structure.
Scalar Cubature Rule class template.
String class implementation.