From: Wolfgang Bangerth Date: Thu, 5 May 2022 21:04:05 +0000 (-0600) Subject: Add a note to QMidpoint. X-Git-Tag: v9.4.0-rc1~248^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13706%2Fhead;p=dealii.git Add a note to QMidpoint. --- diff --git a/include/deal.II/base/quadrature_lib.h b/include/deal.II/base/quadrature_lib.h index d58afc17ec..f3f0d3c126 100644 --- a/include/deal.II/base/quadrature_lib.h +++ b/include/deal.II/base/quadrature_lib.h @@ -83,7 +83,12 @@ public: /** * The midpoint rule for numerical quadrature. This one-point formula is exact - * for linear polynomials. + * for linear integrands. + * + * @note This class only works for cells that are tensor product (hypercube) cells, + * that is, are either ReferenceCells::Line, ReferenceCells::Quadrilateral, + * or ReferenceCells::Hexahedron. For other cell shapes, this class is not + * appropriate. Use ReferenceCell::get_midpoint_quadrature() instead. */ template class QMidpoint : public Quadrature