Intrepid
Public Types | Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
Intrepid::CubatureDirectTriDefault< Scalar, ArrayPoint, ArrayWeight > Class Template Reference

Defines direct integration rules on a triangle. More...

#include <Intrepid_CubatureDirectTriDefault.hpp>

Inheritance diagram for Intrepid::CubatureDirectTriDefault< Scalar, ArrayPoint, ArrayWeight >:
Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight > Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >

Public Types

enum  { INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM = INTREPID_CUBATURE_TRI_DEFAULT_MAX }
 

Public Member Functions

 CubatureDirectTriDefault (const int degree=0)
 Constructor. More...
 
const char * getName () const
 Returns cubature name.
 
const CubatureTemplate * exposeCubatureData () const
 Exposes cubature data.
 
int getMaxAccuracy () const
 Returns maximum cubature accuracy.
 
- Public Member Functions inherited from Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >
virtual void getCubatureData (ArrayPoint &cubPoints, ArrayWeight &cubWeights, const CubatureTemplate *cubData) const
 Extracts points and weights from cubData. More...
 
virtual void getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
 Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). More...
 
virtual int getNumPoints () const
 Returns the number of cubature points.
 
virtual int getDimension () const
 Returns dimension of integration domain.
 
virtual void getAccuracy (std::vector< int > &accuracy) const
 Returns max. degree of polynomials that are integrated exactly. The return vector has size 1.
 

Static Public Member Functions

static const CubatureTemplate(& exposeCubatureDataStatic ())[INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1]
 Exposes cubature data, accessible without construction.
 

Static Private Attributes

static const CubatureTemplate cubature_data_ [INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1]
 Complete set of data defining default cubature rules on a triangle.
 
static const char * cubature_name_ = "INTREPID_CUBATURE_TRI_DEFAULT"
 Names of templates for frequently used direct cubature rules.
 

Additional Inherited Members

- Protected Attributes inherited from Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >
int degree_
 The degree of polynomials that are integrated exactly by this cubature rule.
 
int dimension_
 Dimension of integration domain.
 

Detailed Description

template<class Scalar, class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
class Intrepid::CubatureDirectTriDefault< Scalar, ArrayPoint, ArrayWeight >

Defines direct integration rules on a triangle.

Definition at line 71 of file Intrepid_CubatureDirectTriDefault.hpp.

Constructor & Destructor Documentation

template<class Scalar , class ArrayPoint , class ArrayWeight >
Intrepid::CubatureDirectTriDefault< Scalar, ArrayPoint, ArrayWeight >::CubatureDirectTriDefault ( const int  degree = 0)

Constructor.

Parameters
degree[in] - The degree of polynomials that are integrated exactly by this cubature rule. Default: 0.

Definition at line 52 of file Intrepid_CubatureDirectTriDefaultDef.hpp.


The documentation for this class was generated from the following files: