62 template<u
int dimension>
64 DimQuadList & quads = __gauss_quadratures[dimension];
65 OLD_ASSERT(order < quads.size(),
"Quadrature of given order is not implemented.");
66 auto &point_list = quads[order];
70 for (
int i=0; i<point_list->npoints; i++)
Armor::Array< double > quadrature_points
List of quadrature points.
#define ASSERT_EQ_DBG(a, b)
Definition of comparative assert macro (EQual) only for debug mode.
std::vector< QUAD * > DimQuadList
void append(const ArmaMat< Type, nr, nc > &item)
Base class for quadrature rules on simplices in arbitrary dimensions.
Global macros to enhance readability and debugging, general constants.
std::vector< double > weights
List of weights to the quadrature points.
typename arma::Col< Type >::template fixed< nr > ArmaVec
QGauss(unsigned int dim, const unsigned int order)
Create a formula of given order.
Definitions of particular quadrature rules on simplices.
double __unit_cell_volume[]
unsigned int size() const
Returns number of quadrature points.
std::vector< DimQuadList > __gauss_quadratures