![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/base/quadrature_lib.h>
Public Member Functions | |
| QSorted (const Quadrature< dim >) | |
| bool | operator() (const std::pair< double, Point< dim > > &a, const std::pair< double, Point< dim > > &b) |
Public Member Functions inherited from Quadrature< dim > | |
| Quadrature (const unsigned int n_quadrature_points=0) | |
| Quadrature (const SubQuadrature &, const Quadrature< 1 > &) | |
| Quadrature (const Quadrature< dim !=1 ? 1 :0 > &quadrature_1d) | |
| Quadrature (const Quadrature< dim > &q) | |
| Quadrature (const std::vector< Point< dim > > &points, const std::vector< double > &weights) | |
| Quadrature (const std::vector< Point< dim > > &points) | |
| Quadrature (const Point< dim > &point) | |
| virtual | ~Quadrature () |
| Quadrature & | operator= (const Quadrature< dim > &) |
| bool | operator== (const Quadrature< dim > &p) const |
| void | initialize (const std::vector< Point< dim > > &points, const std::vector< double > &weights) |
| unsigned int | size () const |
| const Point< dim > & | point (const unsigned int i) const |
| const std::vector< Point< dim > > & | get_points () const |
| double | weight (const unsigned int i) const |
| const std::vector< double > & | get_weights () const |
| std::size_t | memory_consumption () const |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Subscriptor | |
| Subscriptor () | |
| Subscriptor (const Subscriptor &) | |
| virtual | ~Subscriptor () |
| Subscriptor & | operator= (const Subscriptor &) |
| void | subscribe (const char *identifier=0) const |
| void | unsubscribe (const char *identifier=0) const |
| unsigned int | n_subscriptions () const |
| void | list_subscribers () const |
| DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.") | |
| DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.") | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Additional Inherited Members | |
Public Types inherited from Quadrature< dim > | |
| typedef Quadrature< dim-1 > | SubQuadrature |
Protected Attributes inherited from Quadrature< dim > | |
| std::vector< Point< dim > > | quadrature_points |
| std::vector< double > | weights |
Sorted Quadrature. Given an arbitrary quadrature formula, this class generates a quadrature formula where the quadrature points are ordered according the weights, from those with smaller corresponding weight, to those with higher corresponding weights. This might be necessary, for example, when integrating high order polynomials, since in these cases you might sum very big numbers with very small numbers, and summation is not stable if the numbers to sum are not close to each other.
Definition at line 427 of file quadrature_lib.h.
| QSorted< dim >::QSorted | ( | const Quadrature< dim > | quad | ) |
The constructor takes an arbitrary quadrature formula.
Definition at line 935 of file quadrature_lib.cc.
| bool QSorted< dim >::operator() | ( | const std::pair< double, Point< dim > > & | a, |
| const std::pair< double, Point< dim > > & | b | ||
| ) |
A rule to reorder pairs of points and weights.
Definition at line 952 of file quadrature_lib.cc.
1.8.12