Intrepid
Macros | Functions
test_01.cpp File Reference

Test file for integration rules provided by John Burkardt. <\A> More...

#include "Intrepid_BurkardtRules.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_Array.hpp"

Go to the source code of this file.

Macros

#define INTREPID_TEST_COMMAND(S)
 

Functions

template<class Scalar >
Scalar evalQuad (int order, int power, Scalar x[], Scalar w[])
 
template<class Scalar >
Scalar factorial2 (int n)
 
template<class Scalar >
Scalar chebyshev1 (int power)
 
template<class Scalar >
Scalar chebyshev2 (int power)
 
int main (int argc, char *argv[])
 

Detailed Description

Test file for integration rules provided by John Burkardt. <\A>

Author
Created by D. Kouri and D. Ridzal.

Definition in file test_01.cpp.

Macro Definition Documentation

◆ INTREPID_TEST_COMMAND

#define INTREPID_TEST_COMMAND (   S)
Value:
{ \
try { \
S ; \
} \
catch (const std::logic_error & err) { \
*outStream << "Expected Error ----------------------------------------------------------------\n"; \
*outStream << err.what() << '\n'; \
*outStream << "-------------------------------------------------------------------------------" << "\n\n"; \
}; \
}

Definition at line 66 of file test_01.cpp.

Function Documentation

◆ chebyshev1()

template<class Scalar >
Scalar chebyshev1 ( int  power)

Definition at line 115 of file test_01.cpp.

◆ chebyshev2()

template<class Scalar >
Scalar chebyshev2 ( int  power)

Definition at line 132 of file test_01.cpp.

◆ evalQuad()

template<class Scalar >
Scalar evalQuad ( int  order,
int  power,
Scalar  x[],
Scalar  w[] 
)

Definition at line 79 of file test_01.cpp.

◆ factorial2()

template<class Scalar >
Scalar factorial2 ( int  n)

Definition at line 101 of file test_01.cpp.

◆ main()

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

Definition at line 149 of file test_01.cpp.