36 double qweight = 1.0/n_quadrature_points;
37 for(
unsigned int q=0; q < n_quadrature_points; q++) {
Class representing midpoint rule, with uniformly distributed points of the same weight.
QMidpoint(unsigned int n_quadrature_points)
Empty constructor.
Base class for quadrature rules on simplices in arbitrary dimensions.
Armor::Array< double >::ArrayMatSet set(uint i)
std::vector< double > weights
List of weights to the quadrature points.
Global macros to enhance readability and debugging, general constants.
typename arma::Col< Type >::template fixed< nr > ArmaVec
Basic definitions of numerical quadrature rules.