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.
|
| #define | INTREPID_TEST_COMMAND(S) |
| |
|
|
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[]) |
| |
Test file for integration rules provided by John Burkardt. <\A>
- Author
- Created by D. Kouri and D. Ridzal.
Definition in file test_01.cpp.
◆ 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.