Intrepid
Functions
test_08.cpp File Reference

Unit test (CubatureSparse): correctness of integration of monomials for 3D reference cells. More...

#include "Intrepid_CubatureSparse.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)
 
void computeIntegral (Teuchos::Array< double > &testIntFixDeg, int cubDegree)
 
int main (int argc, char *argv[])
 

Detailed Description

Unit test (CubatureSparse): correctness of integration of monomials for 3D reference cells.

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

Definition in file test_08.cpp.

Function Documentation

◆ computeIntegral()

void computeIntegral ( Teuchos::Array< double > & testIntFixDeg,
int cubDegree )

Definition at line 81 of file test_08.cpp.

◆ computeMonomial()

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

Definition at line 67 of file test_08.cpp.

◆ main()

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

Definition at line 120 of file test_08.cpp.