Intrepid2
Intrepid2_CubaturePolylib.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Intrepid2 Package
4 //
5 // Copyright 2007 NTESS and the Intrepid2 contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
16 #ifndef __INTREPID2_CUBATURE_POLYLIB_HPP__
17 #define __INTREPID2_CUBATURE_POLYLIB_HPP__
18 
19 #include "Intrepid2_ConfigDefs.hpp"
21 
22 #include "Intrepid2_Polylib.hpp"
23 
24 
25 namespace Intrepid2 {
26 
40  template<typename DeviceType = void,
41  typename pointValueType = double,
42  typename weightValueType = double>
44  : public CubatureDirect<DeviceType,pointValueType,weightValueType> {
45  public:
46  typedef typename CubatureDirect<DeviceType,pointValueType,weightValueType>::PointViewType PointViewType;
47  typedef typename CubatureDirect<DeviceType,pointValueType,weightValueType>::weightViewType weightViewType;
48 
49  CubaturePolylib( const ordinal_type degree,
50  const EPolyType polytype = POLYTYPE_GAUSS,
51  const double alpha = 0.0,
52  const double beta = 0.0 );
53 
56  virtual
57  const char*
58  getName() const override {
59  return "CubaturePolylib";
60  }
61 
62 
63  };
64 
65 }
66 
68 
69 #endif
Header file for Intrepid2::Polylib class providing orthogonal polynomial calculus and interpolation...
virtual const char * getName() const override
Returns cubature name.
Utilizes cubature (integration) rules contained in the library Polylib (Spencer Sherwin, Aeronautics, Imperial College London) within Intrepid.
Defines direct cubature (integration) rules in Intrepid.
Header file for the Intrepid2::CubatureDirect class.
Definition file for the Intrepid2::CubaturePolylib class.