Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Public Member Functions | |
JacobiTester (int quadOrder) | |
bool | testInnerProduct (double alpha, double beta, int nMax) const |
Private Attributes | |
RCP< Quadrature< int, double > > | quad_ |
Definition at line 65 of file Stokhos_JacobiBasisUnitTest.cpp.
|
inline |
Definition at line 69 of file Stokhos_JacobiBasisUnitTest.cpp.
Compute the inner product
using Gauss-Legendre quadrature and compare to the exact solution.
Note: the gamma function appearing in the exact solution is computed by the function tgamma(x), not the more logical gamma(x).
Definition at line 95 of file Stokhos_JacobiBasisUnitTest.cpp.
|
private |
Definition at line 145 of file Stokhos_JacobiBasisUnitTest.cpp.