Intrepid
Macros | Functions
test_10.cpp File Reference

Unit test (CubatureDirect): correctness of integration of monomials for 1D reference cells. More...

#include "Intrepid_CubaturePolylib.hpp"
#include "Intrepid_Utils.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_GlobalMPISession.hpp"

Go to the source code of this file.

Macros

#define INTREPID_CUBATURE_LINE_MAX   61
 

Functions

double computeMonomial (FieldContainer< double > &p, int xDeg, int yDeg=0, int zDeg=0)
 
double computeIntegral (int cubDegree, int polyDegree, EIntrepidPLPoly poly_type)
 
int main (int argc, char *argv[])
 

Detailed Description

Unit test (CubatureDirect): correctness of integration of monomials for 1D reference cells.

Author
Created by P. Bochev and D. Ridzal.

Definition in file test_10.cpp.

Macro Definition Documentation

◆ INTREPID_CUBATURE_LINE_MAX

#define INTREPID_CUBATURE_LINE_MAX   61

Definition at line 57 of file test_10.cpp.

Function Documentation

◆ computeIntegral()

double computeIntegral ( int  cubDegree,
int  polyDegree,
EIntrepidPLPoly  poly_type 
)

Definition at line 82 of file test_10.cpp.

◆ computeMonomial()

double computeMonomial ( FieldContainer< double > &  p,
int  xDeg,
int  yDeg = 0,
int  zDeg = 0 
)

Definition at line 68 of file test_10.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 108 of file test_10.cpp.