49 #ifndef INTREPID_CUBATURE_DIRECT_TRI_DEFAULT_HPP
50 #define INTREPID_CUBATURE_DIRECT_TRI_DEFAULT_HPP
52 #include "Intrepid_ConfigDefs.hpp"
54 #include "Teuchos_Assert.hpp"
62 #define INTREPID_CUBATURE_TRI_DEFAULT_MAX 20
70 template<
class Scalar,
class ArrayPo
int = FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int >
116 template<
class Scalar,
class ArrayPo
int,
class ArrayWeight>
117 inline const CubatureTemplate (& CubatureDirectTriDefault<Scalar,ArrayPoint,ArrayWeight>::exposeCubatureDataStatic())[INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1] {
118 return cubature_data_;
129 #if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
131 #warning "The Intrepid package is deprecated"
static const CubatureTemplate(& exposeCubatureDataStatic())[INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1]
Exposes cubature data, accessible without construction.
const CubatureTemplate * exposeCubatureData() const
Exposes cubature data.
const char * getName() const
Returns cubature name.
#define INTREPID_CUBATURE_TRI_DEFAULT_MAX
The maximum degree of the polynomial that can be integrated exactly by a direct triangle rule of the ...
CubatureDirectTriDefault(const int degree=0)
Constructor.
static const char * cubature_name_
Names of templates for frequently used direct cubature rules.
Header file for the Intrepid::CubatureDirect class.
Definition file for the Intrepid::CubatureDirectTriDefault class.
Defines direct integration rules on a triangle.
Template for the cubature rules used by Intrepid. Cubature template consists of cubature points and c...
Defines direct cubature (integration) rules in Intrepid.
static const CubatureTemplate cubature_data_[INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1]
Complete set of data defining default cubature rules on a triangle.
int getMaxAccuracy() const
Returns maximum cubature accuracy.