18 #ifndef __deal2__quadrature_selector_h 19 #define __deal2__quadrature_selector_h 22 #include <deal.II/base/quadrature.h> 55 const unsigned int order=0);
77 <<
"You tried to generate QGauss with an invalid order of " 78 << arg1 <<
" (must be >= 2)");
85 <<
"You tried to generate a " << arg1
86 <<
" object; no order is needed (" << arg2
87 <<
" was given as parameter)");
94 <<
" is not a valid quadrature name for a quadrature rule");
108 const unsigned int order);
110 DEAL_II_NAMESPACE_CLOSE
DeclException2(ExcInvalidOrder, std::string, unsigned int,<< "You tried to generate a "<< arg1<< " object; no order is needed ("<< arg2<< " was given as parameter)")
QuadratureSelector(const std::string &s, const unsigned int order=0)
DeclException1(ExcInvalidQGaussOrder, int,<< "You tried to generate QGauss with an invalid order of "<< arg1<< " (must be >= 2)")
static std::string get_quadrature_names()
static Quadrature< dim > create_quadrature(const std::string &s, const unsigned int order)