Intrepid
Macros | Functions
test_01.cpp File Reference

Test file for a set of functions providing orthogonal polynomial polynomial calculus and interpolation. More...

#include "Intrepid_Polylib.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Teuchos_GlobalMPISession.hpp"

Go to the source code of this file.

Macros

#define NPLOWER   5
 
#define NPUPPER   15
 
#define TEST_EPS   1000*INTREPID_TOL
 
#define GAUSS_INT   1
 
#define GAUSS_RADAUM_INT   1
 
#define GAUSS_RADAUP_INT   1
 
#define GAUSS_LOBATTO_INT   1
 
#define GAUSS_DIFF   1
 
#define GAUSS_RADAUM_DIFF   1
 
#define GAUSS_RADAUP_DIFF   1
 
#define GAUSS_LOBATTO_DIFF   1
 
#define GAUSS_INTERP   1
 
#define GAUSS_RADAUM_INTERP   1
 
#define GAUSS_RADAUP_INTERP   1
 
#define GAUSS_LOBATTO_INTERP   1
 
#define INTREPID_TEST_COMMAND(S)
 

Functions

template<class Scalar >
Scalar ddot (int n, Scalar *x, int incx, Scalar *y, int incy)
 
template<class Scalar >
Scalar * dvector (int nl, int nh)
 
int main (int argc, char *argv[])
 

Detailed Description

Test file for a set of functions providing orthogonal polynomial polynomial calculus and interpolation.

Author
Created by Spencer Sherwin, Aeronautics, Imperial College London, modified and redistributed by 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 79 of file test_01.cpp.