34 quadrature_points(dimension, 1, n_q),
41 quadrature_points(q.quadrature_points),
46 template<
unsigned int bulk_dim>
55 for (
unsigned int k=0; k<
size(); k++)
77 template<>
Quadrature Quadrature::make_from_side<1>(
unsigned int sid)
const
87 template Quadrature Quadrature::make_from_side<2>(
unsigned int sid)
const;
88 template Quadrature Quadrature::make_from_side<3>(
unsigned int sid)
const;
#define ASSERT_EQ(a, b)
Definition of comparative assert macro (EQual) only for debug mode.
ArrayMatSet set(uint index)
Base class for quadrature rules on simplices in arbitrary dimensions.
Quadrature make_from_side(unsigned int sid) const
unsigned int size() const
Returns number of quadrature points.
Quadrature(const Quadrature &q)
Copy constructor.
std::vector< double > weights
List of weights to the quadrature points.
Quadrature & operator=(const Quadrature &q)
double weight(unsigned int i) const
Returns the ith weight.
Armor::Array< double > quadrature_points
List of quadrature points.
const unsigned int dim_
Dimension of quadrature points.
static LocalPoint bary_to_local(const BaryPoint &bp)
Converts from barycentric to local coordinates.
static BaryPoint local_to_bary(const LocalPoint &lp)
Converts from local to barycentric coordinates.
typename arma::Col< Type >::template fixed< nr > ArmaVec
Basic definitions of numerical quadrature rules.