quadrature_conical.h
Go to the documentation of this file.
1 // The libMesh Finite Element Library.
2 // Copyright (C) 2002-2018 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
13 
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 
18 
19 #ifndef LIBMESH_QUADRATURE_CONICAL_H
20 #define LIBMESH_QUADRATURE_CONICAL_H
21 
22 // Local includes
23 #include "libmesh/quadrature.h"
24 
25 namespace libMesh
26 {
27 
43 class QConical final : public QBase
44 {
45 public:
46 
50  QConical (unsigned int d,
51  Order o=INVALID_ORDER) :
52  QBase(d,o)
53  {}
54 
59  QConical (const QConical &) = default;
60  QConical (QConical &&) = default;
61  QConical & operator= (const QConical &) = default;
62  QConical & operator= (QConical &&) = default;
63  virtual ~QConical() = default;
64 
68  virtual QuadratureType type() const override;
69 
70 private:
71 
75  virtual void init_1D (const ElemType,
76  unsigned int = 0) override;
77 
81  virtual void init_2D (const ElemType _type=INVALID_ELEM,
82  unsigned int p_level=0) override;
86  virtual void init_3D (const ElemType _type=INVALID_ELEM,
87  unsigned int p_level=0) override;
88 
93  void conical_product_tri(unsigned int p);
94 
99  void conical_product_tet(unsigned int p);
100 
105  void conical_product_pyramid(unsigned int p);
106 };
107 
108 } // namespace libMesh
109 
110 #endif // LIBMESH_QUADRATURE_CONICAL_H
virtual void init_1D(const ElemType, unsigned int=0) override
ElemType _type
Definition: quadrature.h:337
QConical(unsigned int d, Order o=INVALID_ORDER)
void conical_product_tri(unsigned int p)
void conical_product_tet(unsigned int p)
virtual void init_3D(const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override
Conical product quadrature rules for Tri and Tet elements.
virtual QuadratureType type() const override
QConical & operator=(const QConical &)=default
virtual ~QConical()=default
virtual void init_2D(const ElemType _type=INVALID_ELEM, unsigned int p_level=0) override
void conical_product_pyramid(unsigned int p)
Base class for all quadrature families and orders.
Definition: quadrature.h:62