Intrepid
Functions
test_05.cpp File Reference

Unit test (CubatureDirect,CubatureTensor,DefaultCubatureFactory): correctness of integration of monomials for 3D reference cells. More...

#include "Intrepid_DefaultCubatureFactory.hpp"
#include "Intrepid_Utils.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_BLAS.hpp"
#include "Teuchos_GlobalMPISession.hpp"

Go to the source code of this file.

Functions

double computeMonomial (FieldContainer< double > &p, int xDeg, int yDeg=0, int zDeg=0)
 
double computeIntegral (shards::CellTopology &cellTopology, int cubDegree, int xDeg, int yDeg, int zDeg)
 
int main (int argc, char *argv[])
 

Detailed Description

Unit test (CubatureDirect,CubatureTensor,DefaultCubatureFactory): correctness of integration of monomials for 3D reference cells.

Author
Created by P. Bochev and D. Ridzal.

Definition in file test_05.cpp.

Function Documentation

◆ computeIntegral()

double computeIntegral ( shards::CellTopology & cellTopology,
int cubDegree,
int xDeg,
int yDeg,
int zDeg )

Definition at line 80 of file test_05.cpp.

◆ computeMonomial()

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

Definition at line 66 of file test_05.cpp.

◆ main()

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

Definition at line 112 of file test_05.cpp.