Intrepid
Functions
test_12.cpp File Reference

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

#include "Intrepid_CubatureTensorSorted.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.

Functions

long double evalQuad (std::vector< int > power, int dimension, std::vector< int > order, std::vector< EIntrepidBurkardt > rule)
 
long double evalInt (int dimension, std::vector< int > power, std::vector< EIntrepidBurkardt > rule)
 
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_12.cpp.

Function Documentation

◆ evalInt()

long double evalInt ( int dimension,
std::vector< int > power,
std::vector< EIntrepidBurkardt > rule )

Definition at line 95 of file test_12.cpp.

◆ evalQuad()

long double evalQuad ( std::vector< int > power,
int dimension,
std::vector< int > order,
std::vector< EIntrepidBurkardt > rule )

Definition at line 64 of file test_12.cpp.

◆ main()

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

Definition at line 160 of file test_12.cpp.