9#include <kernel/cubature/scalar/driver_base.hpp>
54 rule.get_coord(0) = -Coord_(1);
55 rule.get_coord(1) = Coord_(1);
56 rule.get_weight(0) = Weight_(1);
57 rule.get_weight(1) = Weight_(1);
Scalar cubature driver base class.
Scalar Cubature Rule class template.
Trapezoidal Rule driver class template.
static constexpr bool variadic
this rule is not variadic
static constexpr int num_points
this rule has 2 points
static constexpr bool tensorize
disable tensorization
static String name()
Returns the name of the cubature rule.
static void fill(Rule< Weight_, Coord_ > &rule)
Fills the cubature rule structure.
String class implementation.