Intrepid
Classes | Macros | Functions
Intrepid_CubatureSparse.hpp File Reference

Header file for the Intrepid::CubatureSparse class. More...

#include "Intrepid_ConfigDefs.hpp"
#include "Intrepid_Cubature.hpp"
#include "Intrepid_CubatureDirectLineGauss.hpp"
#include "Intrepid_CubatureSparseHelper.hpp"
#include "Teuchos_Assert.hpp"
#include <Intrepid_CubatureSparseDef.hpp>

Go to the source code of this file.

Classes

class  Intrepid::CubatureSparse< Scalar, dimension_, ArrayPoint, ArrayWeight >
 

Macros

#define INTREPID_CUBATURE_SPARSE2D_GAUSS_MAX   59
 The maximum degree of the polynomial that can be integrated exactly by a generalized sparse rule of the Gauss(-Legendre) type in 2D.
 
#define INTREPID_CUBATURE_SPARSE3D_GAUSS_MAX   57
 The maximum degree of the polynomial that can be integrated exactly by a sparse of the Gauss(-Legendre) type in 3D.
 

Functions

template<class Scalar , int DIM>
void Intrepid::iterateThroughDimensions (int level, int dims_left, SGNodes< Scalar, DIM > &cubPointsND, Teuchos::Array< Scalar > &partial_node, Scalar partial_weight)
 
int Intrepid::factorial (int num)
 
double Intrepid::combination (int top, int bot)
 
int Intrepid::iterateThroughDimensionsForNumCalc (int dims_left, int level, int levels_left, int level_so_far, Teuchos::Array< int > &nodes, int product, bool no_uni_quad)
 
int Intrepid::calculateNumPoints (int dim, int level)
 

Detailed Description

Header file for the Intrepid::CubatureSparse class.

Author
Created by P. Bochev, D. Ridzal, and M. Keegan.

Definition in file Intrepid_CubatureSparse.hpp.

Macro Definition Documentation

◆ INTREPID_CUBATURE_SPARSE2D_GAUSS_MAX

#define INTREPID_CUBATURE_SPARSE2D_GAUSS_MAX   59

The maximum degree of the polynomial that can be integrated exactly by a generalized sparse rule of the Gauss(-Legendre) type in 2D.

The maximum degree of the polynomial that can be integrated exactly by a sparse rule of the Gauss(-Legendre) type in 2D.

Definition at line 63 of file Intrepid_CubatureSparse.hpp.

◆ INTREPID_CUBATURE_SPARSE3D_GAUSS_MAX

#define INTREPID_CUBATURE_SPARSE3D_GAUSS_MAX   57

The maximum degree of the polynomial that can be integrated exactly by a sparse of the Gauss(-Legendre) type in 3D.

Definition at line 69 of file Intrepid_CubatureSparse.hpp.

Function Documentation

◆ calculateNumPoints()

int Intrepid::calculateNumPoints ( int  dim,
int  level 
)
inline

Definition at line 196 of file Intrepid_CubatureSparse.hpp.

◆ combination()

double Intrepid::combination ( int  top,
int  bot 
)
inline

Definition at line 155 of file Intrepid_CubatureSparse.hpp.

◆ factorial()

int Intrepid::factorial ( int  num)
inline

Definition at line 136 of file Intrepid_CubatureSparse.hpp.

◆ iterateThroughDimensions()

template<class Scalar , int DIM>
void Intrepid::iterateThroughDimensions ( int  level,
int  dims_left,
SGNodes< Scalar, DIM > &  cubPointsND,
Teuchos::Array< Scalar > &  partial_node,
Scalar  partial_weight 
)

Definition at line 186 of file Intrepid_CubatureSparseDef.hpp.

◆ iterateThroughDimensionsForNumCalc()

int Intrepid::iterateThroughDimensionsForNumCalc ( int  dims_left,
int  level,
int  levels_left,
int  level_so_far,
Teuchos::Array< int > &  nodes,
int  product,
bool  no_uni_quad 
)
inline

Definition at line 161 of file Intrepid_CubatureSparse.hpp.