46 template<
unsigned int bulk_dim>
58 for (
unsigned int k=0; k<
size(); k++)
65 for (
unsigned int i=0; i<RefElement<bulk_dim>::n_nodes_per_side; i++) {
80 template<>
Quadrature Quadrature::make_from_side<1>(
unsigned int sid,
unsigned int)
const 90 template Quadrature Quadrature::make_from_side<2>(
unsigned int sid,
unsigned int pid)
const;
91 template Quadrature Quadrature::make_from_side<3>(
unsigned int sid,
unsigned int pid)
const;
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.
Quadrature(const Quadrature &q)
Copy constructor.
Quadrature make_from_side(unsigned int sid, unsigned int pid) const
double weight(unsigned int i) const
Returns the ith weight.
Base class for quadrature rules on simplices in arbitrary dimensions.
static LocalPoint bary_to_local(const BaryPoint &bp)
Converts from barycentric to local coordinates.
std::vector< double > weights
List of weights to the quadrature points.
Basic definitions of numerical quadrature rules.
ArrayMatSet set(uint index)
typename arma::Col< Type >::template fixed< nr > ArmaVec
const unsigned int dim_
Dimension of quadrature points.
static BaryPoint local_to_bary(const LocalPoint &lp)
Converts from local to barycentric coordinates.
unsigned int size() const
Returns number of quadrature points.
Quadrature & operator=(const Quadrature &q)