![]() |
Reference documentation for deal.II version 9.6.0
|
#include <deal.II/non_matching/quadrature_generator.h>
Public Member Functions | |
ExtendableQuadrature ()=default | |
ExtendableQuadrature (const Quadrature< dim > &quadrature) | |
void | clear () |
void | push_back (const Point< dim > &point, const double weight) |
This is a special Quadrature class with a push_back() method for conveniently adding a point with an associated weight.
Since we build the quadrature rules in step-wise fashion, it's easier to use this class than to pass around two vectors: std::vector<Point<dim>>, std::vector<double>. Further, two std::vectors could accidentally end up with different sizes. Using push_back we make sure that the number of points and weights are the same.
Definition at line 746 of file quadrature_generator.h.
|
default |
Constructor, creates an empty quadrature rule with no points.
NonMatching::internal::QuadratureGeneratorImplementation::ExtendableQuadrature< dim >::ExtendableQuadrature | ( | const Quadrature< dim > & | quadrature | ) |
Constructor, copies the incoming Quadrature.
Definition at line 639 of file quadrature_generator.cc.
|
inline |
Clears weights and points vectors.
Definition at line 648 of file quadrature_generator.cc.
void NonMatching::internal::QuadratureGeneratorImplementation::ExtendableQuadrature< dim >::push_back | ( | const Point< dim > & | point, |
const double | weight ) |
Add a point with an associated weight to the quadrature.
Definition at line 658 of file quadrature_generator.cc.