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