Flow123d
release_3.0.0-968-gc87a28e79
|
Go to the documentation of this file.
34 double qweight = 1.0/n_quadrature_points;
35 this->
weights.resize(n_quadrature_points,qweight);
37 for(
unsigned int q=0; q < n_quadrature_points; q++)
42 #endif // QMIDPOINT_HH_
std::vector< arma::vec::fixed< dim > > quadrature_points
List of quadrature points.
QMidpoint(const unsigned int n_quadrature_points)
Empty constructor.
std::vector< double > weights
List of weights to the quadrature points.
Class representing midpoint rule, with uniformly distributed points of the same weight.
Global macros to enhance readability and debugging, general constants.
Basic definitions of numerical quadrature rules.
Base class for quadrature rules on simplices in arbitrary dimensions.