51 template<
unsigned int bulk_dim>
61 arma::vec::fixed<bulk_dim+1> el_bar_coords, final_bar;
63 for (
unsigned int k=0; k<
size(); k++)
67 arma::vec::fixed<bulk_dim> pp;
70 for (
unsigned int i=0; i<RefElement<bulk_dim>::n_nodes_per_side; i++) {
85 template<>
Quadrature Quadrature::make_from_side<1>(
unsigned int sid,
unsigned int)
88 q.
point<1>(0) = { (double)sid };
94 template Quadrature Quadrature::make_from_side<2>(
unsigned int sid,
unsigned int pid);
95 template Quadrature Quadrature::make_from_side<3>(
unsigned int sid,
unsigned int pid);
Quadrature(const Quadrature &q)
Copy constructor.
double weight(const unsigned int i) const
Returns the ith weight.
Base class for quadrature rules on simplices in arbitrary dimensions.
Armor::vec< point_dim > point(const unsigned int i) const
Returns the ith quadrature point.
std::vector< double > weights
List of weights to the quadrature points.
Quadrature make_from_side(unsigned int sid, unsigned int pid)
Basic definitions of numerical quadrature rules.
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)
Armor::array quadrature_points
List of quadrature points.