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 31 of file Stokhos_JacobiBasisUnitTest.cpp.
|
inline |
Definition at line 35 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 61 of file Stokhos_JacobiBasisUnitTest.cpp.
|
private |
Definition at line 111 of file Stokhos_JacobiBasisUnitTest.cpp.