Intrepid
|
Public Member Functions | |
ASGdata (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
void | eval_integrand (UserVector &output, std::vector< Scalar > &input) |
Evaluate the integrand function. More... | |
Scalar | error_indicator (UserVector &input) |
User defined error indicator function. More... | |
ASGdata (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
void | eval_integrand (UserVector &output, std::vector< Scalar > &input) |
Evaluate the integrand function. More... | |
Scalar | error_indicator (UserVector &input) |
User defined error indicator function. More... | |
ASGdata (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
void | eval_integrand (UserVector &output, std::vector< Scalar > &input) |
Evaluate the integrand function. More... | |
Scalar | error_indicator (UserVector &input) |
User defined error indicator function. More... | |
ASGdata (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
void | eval_integrand (UserVector &output, std::vector< Scalar > &input) |
Evaluate the integrand function. More... | |
Scalar | error_indicator (UserVector &input) |
User defined error indicator function. More... | |
ASGdata (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
void | eval_integrand (UserVector &output, std::vector< Scalar > &input) |
Evaluate the integrand function. More... | |
Scalar | error_indicator (UserVector &input) |
User defined error indicator function. More... | |
ASGdata (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
void | eval_integrand (UserVector &output, std::vector< Scalar > &input) |
Evaluate the integrand function. More... | |
Scalar | error_indicator (UserVector &input) |
User defined error indicator function. More... | |
Public Member Functions inherited from Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector > | |
virtual | ~AdaptiveSparseGridInterface () |
Destructor. | |
AdaptiveSparseGridInterface (int dimension, std::vector< EIntrepidBurkardt > rule1D, std::vector< EIntrepidGrowth > growth1D, int maxLevel, bool isNormalized) | |
Constructor starts with index [1,...,1]. More... | |
virtual void | eval_cubature (UserVector &output, CubatureTensorSorted< Scalar > &cubRule) |
Evaluate the cubature rule. More... | |
virtual bool | max_level (std::vector< int > index) |
User defined test for maximum level of cubature. More... | |
void | init (UserVector &output) |
Compute initial quantities for sparse grid adaptation. More... | |
void | getRule (std::vector< EIntrepidBurkardt > &rule1D) |
Return user defined 1D quadrature rules. More... | |
void | getGrowth (std::vector< EIntrepidGrowth > &growth1D) |
Return user defined 1D growth rules. More... | |
int | getDimension () |
Return dimension of integration domain. | |
Scalar | getInitialDiff () |
Return initial error indicator. | |
bool | isNormalized () |
Return whether or not cubature weights are normalized. | |
Additional Inherited Members | |
Protected Attributes inherited from Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector > | |
int | dimension_ |
The dimension of the integration domain. | |
int | maxLevel_ |
The maximum allowable level of quadrature. | |
Scalar | initialDiff_ |
The initial contribution to the integral. | |
bool | isNormalized_ |
Whether or not to normalize the weights. | |
std::vector< EIntrepidBurkardt > | rule1D_ |
The user defined 1D cubature rules. | |
std::vector< EIntrepidGrowth > | growth1D_ |
The user defined 1D growth rules. | |
Definition at line 113 of file test_17.cpp.
|
inlinevirtual |
User defined error indicator function.
input | [in] - Reduction of high dimensional integral value to a Scalar. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 126 of file test_20.cpp.
References Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >::getInitialDiff().
|
inlinevirtual |
User defined error indicator function.
input | [in] - Reduction of high dimensional integral value to a Scalar. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 126 of file test_21.cpp.
References Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >::getInitialDiff().
|
inlinevirtual |
User defined error indicator function.
input | [in] - Reduction of high dimensional integral value to a Scalar. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 126 of file test_23.cpp.
References Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >::getInitialDiff().
|
inlinevirtual |
User defined error indicator function.
input | [in] - Reduction of high dimensional integral value to a Scalar. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 134 of file test_19.cpp.
References Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >::getInitialDiff().
|
inlinevirtual |
User defined error indicator function.
input | [in] - Reduction of high dimensional integral value to a Scalar. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 136 of file test_18.cpp.
References Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >::getInitialDiff().
|
inlinevirtual |
User defined error indicator function.
input | [in] - Reduction of high dimensional integral value to a Scalar. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 155 of file test_17.cpp.
References Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >::getInitialDiff().
|
inlinevirtual |
Evaluate the integrand function.
output | [out] - Output of integrand evaluation. |
input | [in] - Evaluation points. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 122 of file test_21.cpp.
|
inlinevirtual |
Evaluate the integrand function.
output | [out] - Output of integrand evaluation. |
input | [in] - Evaluation points. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 122 of file test_20.cpp.
|
inlinevirtual |
Evaluate the integrand function.
output | [out] - Output of integrand evaluation. |
input | [in] - Evaluation points. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 123 of file test_19.cpp.
|
inlinevirtual |
Evaluate the integrand function.
output | [out] - Output of integrand evaluation. |
input | [in] - Evaluation points. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 123 of file test_17.cpp.
|
inlinevirtual |
Evaluate the integrand function.
output | [out] - Output of integrand evaluation. |
input | [in] - Evaluation points. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 123 of file test_23.cpp.
|
inlinevirtual |
Evaluate the integrand function.
output | [out] - Output of integrand evaluation. |
input | [in] - Evaluation points. |
Implements Intrepid::AdaptiveSparseGridInterface< Scalar, UserVector >.
Definition at line 124 of file test_18.cpp.