49 #ifndef INTREPID_CUBATURE_DIRECT_LINE_GAUSS_HPP
50 #define INTREPID_CUBATURE_DIRECT_LINE_GAUSS_HPP
52 #include "Intrepid_ConfigDefs.hpp"
54 #include "Teuchos_Assert.hpp"
62 #define INTREPID_CUBATURE_LINE_GAUSS_MAX 61
70 template<
class Scalar,
class ArrayPo
int = FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int>
119 template<
class Scalar,
class ArrayPo
int,
class ArrayWeight>
120 inline const CubatureTemplate (& CubatureDirectLineGauss<Scalar,ArrayPoint,ArrayWeight>::exposeCubatureDataStatic())[INTREPID_CUBATURE_LINE_GAUSS_MAX_ENUM+1] {
121 return cubature_data_;
int getMaxAccuracy() const
Returns maximum cubature accuracy.
CubatureDirectLineGauss(const int degree=0)
Constructor.
const CubatureTemplate * exposeCubatureData() const
Exposes cubature data.
static const CubatureTemplate cubature_data_[INTREPID_CUBATURE_LINE_GAUSS_MAX_ENUM+1]
Complete set of data defining line Gauss(-Legendre) rules.
Defines Gauss integration rules on a line.
static const char * cubature_name_
Names of templates for frequently used direct cubature rules.
static const CubatureTemplate(& exposeCubatureDataStatic())[INTREPID_CUBATURE_LINE_GAUSS_MAX_ENUM+1]
Exposes cubature data, accessible without construction.
#define INTREPID_CUBATURE_LINE_GAUSS_MAX
The maximum degree of the polynomial that can be integrated exactly by a direct line rule of the Gaus...
Definition file for the Intrepid::CubatureDirectLineGauss class.
Header file for the Intrepid::CubatureDirect class.
const char * getName() const
Returns cubature name.
Template for the cubature rules used by Intrepid. Cubature template consists of cubature points and c...
Defines direct cubature (integration) rules in Intrepid.