Intrepid2
Intrepid2_CubatureDirectLineGaussJacobi20.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_DIRECT_LINE_GAUSSJACOBI20_HPP__
17 #define __INTREPID2_CUBATURE_DIRECT_LINE_GAUSSJACOBI20_HPP__
18 
19 #include "Intrepid2_ConfigDefs.hpp"
21 
22 namespace Intrepid2 {
23 
27  template<typename DeviceType = void,
28  typename pointValueType = double,
29  typename weightValueType = double>
31  : public CubatureDirect<DeviceType,pointValueType,weightValueType> {
32  public:
35 
36  typedef typename CubatureDirect<DeviceType,pointValueType,weightValueType>::PointViewType PointViewType;
37  typedef typename CubatureDirect<DeviceType,pointValueType,weightValueType>::weightViewType weightViewType;
38 
39  private:
40  // static data initialize upto 1 but we only support upto Parameters::MaxCubatureDegreePyr
41  static constexpr ordinal_type cubatureDataStaticSize=12;
42 
45  static const CubatureDataStatic cubatureDataStatic_[cubatureDataStaticSize]; // initialized once
46 
47  public:
48 
53  CubatureDirectLineGaussJacobi20(const ordinal_type degree = 0);
54 
57  virtual
58  const char*
59  getName() const override {
60  return "CubatureDirectLineGaussJacobi20";
61  }
62  };
63 
64 }
65 
66 // include templated definitions
68 
69 #endif
Definition file for the Intrepid2::CubatureDirectLineGaussJacobi20 class.
Defines GaussJacobi20 integration rules on a line used for Pyramid only.
virtual const char * getName() const override
Returns cubature name.
CubatureDirectLineGaussJacobi20(const ordinal_type degree=0)
Constructor.
static const CubatureDataStatic cubatureDataStatic_[cubatureDataStaticSize]
Complete set of data defining line Gauss(-Legendre) rules.
Defines direct cubature (integration) rules in Intrepid.
Cubature data is defined on the host space and is static.
Cubature data is defined on exec space and deep-copied when an object is created. ...
Header file for the Intrepid2::CubatureDirect class.