ROL
|
#include <ROL_Quadrature.hpp>
Public Member Functions | |
virtual | ~Quadrature () |
Quadrature (int dimension=1) | |
Quadrature (int degree, EROLBurkardt rule, bool isNormalized) | |
Quadrature (EROLBurkardt rule, int numPoints, bool isNormalized) | |
Quadrature (std::vector< Real > &points, std::vector< Real > &weights) | |
Quadrature (int dimension, std::vector< int > numPoints1D, std::vector< EROLBurkardt > rule1D, bool isNormalized) | |
Quadrature (int dimension, std::vector< int > numPoints1D, std::vector< EROLBurkardt > rule1D, std::vector< EROLGrowth > growth1D, bool isNormalized) | |
Quadrature (int dimension, int maxNumPoints, std::vector< EROLBurkardt > rule1D, std::vector< EROLGrowth > growth1D, bool isNormalized) | |
Quadrature (int dimension, int maxNumPoints, std::vector< EROLBurkardt > rule1D, std::vector< EROLGrowth > growth1D, bool isNormalized, bool useSandia) | |
Quadrature (const char *SGinfo, const char *SGdata, bool isNormalized) | |
virtual void | getCubature (std::vector< std::vector< Real > > &cubPoints, std::vector< Real > &cubWeights) const |
virtual int | getNumPoints () const |
virtual void | getAccuracy (std::vector< int > &accuracy) const |
virtual int | getDimension () const |
virtual std::map< std::vector < Real >, int >::iterator | begin () |
virtual std::map< std::vector < Real >, int >::iterator | end () |
virtual void | insert (typename std::map< std::vector< Real >, int >::iterator it, std::vector< Real > point, Real weight) |
virtual std::vector< Real > | getNode (typename std::map< std::vector< Real >, int >::iterator it) |
virtual Real | getWeight (int node) |
virtual Real | getWeight (std::vector< Real > point) |
virtual void | update (Real alpha, Quadrature< Real > &rule) |
virtual void | normalize () |
Protected Member Functions | |
void | addPointAndWeight (std::vector< Real > point, Real weight, int loc) |
Private Attributes | |
std::map< std::vector< Real > , int > | points_ |
std::vector< Real > | weights_ |
std::vector< int > | accuracy_ |
int | dimension_ |
Definition at line 72 of file ROL_Quadrature.hpp.
|
inlinevirtual |
Definition at line 83 of file ROL_Quadrature.hpp.
ROL::Quadrature< Real >::Quadrature | ( | int | dimension = 1 | ) |
Definition at line 53 of file ROL_QuadratureDef.hpp.
References ROL::Quadrature< Real >::accuracy_, ROL::Quadrature< Real >::points_, and ROL::Quadrature< Real >::weights_.
ROL::Quadrature< Real >::Quadrature | ( | int | degree, |
EROLBurkardt | rule, | ||
bool | isNormalized | ||
) |
Definition at line 53 of file ROL_Quadrature1dConstructors.hpp.
References ROL::Quadrature< Real >::accuracy_, ROL::Quadrature< Real >::addPointAndWeight(), ROL::BURK_CHEBYSHEV1, ROL::BURK_CHEBYSHEV2, ROL::BURK_CLENSHAWCURTIS, ROL::BURK_FEJER2, ROL::BURK_GENZKEISTER, ROL::BURK_HERMITE, ROL::BURK_LAGUERRE, ROL::BURK_LEGENDRE, ROL::BURK_PATTERSON, ROL::BURK_TRAPEZOIDAL, and ROL::Finite_Difference_Arrays::weights.
ROL::Quadrature< Real >::Quadrature | ( | EROLBurkardt | rule, |
int | numPoints, | ||
bool | isNormalized | ||
) |
Definition at line 140 of file ROL_Quadrature1dConstructors.hpp.
References ROL::Quadrature< Real >::accuracy_, ROL::Quadrature< Real >::addPointAndWeight(), ROL::BURK_CHEBYSHEV1, ROL::BURK_CHEBYSHEV2, ROL::BURK_CLENSHAWCURTIS, ROL::BURK_FEJER2, ROL::BURK_GENZKEISTER, ROL::BURK_HERMITE, ROL::BURK_LAGUERRE, ROL::BURK_LEGENDRE, ROL::BURK_PATTERSON, ROL::BURK_TRAPEZOIDAL, and ROL::Finite_Difference_Arrays::weights.
ROL::Quadrature< Real >::Quadrature | ( | std::vector< Real > & | points, |
std::vector< Real > & | weights | ||
) |
Definition at line 235 of file ROL_Quadrature1dConstructors.hpp.
References ROL::Quadrature< Real >::addPointAndWeight().
ROL::Quadrature< Real >::Quadrature | ( | int | dimension, |
std::vector< int > | numPoints1D, | ||
std::vector< EROLBurkardt > | rule1D, | ||
bool | isNormalized | ||
) |
Definition at line 53 of file ROL_QuadratureTPConstructors.hpp.
References ROL::Quadrature< Real >::accuracy_, ROL::Quadrature< Real >::addPointAndWeight(), ROL::Quadrature< Real >::begin(), ROL::Quadrature< Real >::end(), ROL::Quadrature< Real >::getAccuracy(), ROL::Quadrature< Real >::getWeight(), and ROL::Quadrature< Real >::normalize().
ROL::Quadrature< Real >::Quadrature | ( | int | dimension, |
std::vector< int > | numPoints1D, | ||
std::vector< EROLBurkardt > | rule1D, | ||
std::vector< EROLGrowth > | growth1D, | ||
bool | isNormalized | ||
) |
Definition at line 87 of file ROL_QuadratureTPConstructors.hpp.
References ROL::Quadrature< Real >::accuracy_, ROL::Quadrature< Real >::addPointAndWeight(), ROL::Quadrature< Real >::begin(), ROL::Quadrature< Real >::end(), ROL::Quadrature< Real >::getAccuracy(), ROL::Quadrature< Real >::getWeight(), ROL::growthRule1D(), and ROL::Quadrature< Real >::normalize().
ROL::Quadrature< Real >::Quadrature | ( | int | dimension, |
int | maxNumPoints, | ||
std::vector< EROLBurkardt > | rule1D, | ||
std::vector< EROLGrowth > | growth1D, | ||
bool | isNormalized | ||
) |
Definition at line 124 of file ROL_QuadratureTPConstructors.hpp.
References ROL::Quadrature< Real >::accuracy_, ROL::Quadrature< Real >::addPointAndWeight(), ROL::Quadrature< Real >::begin(), ROL::Quadrature< Real >::end(), ROL::Quadrature< Real >::getAccuracy(), ROL::Quadrature< Real >::getWeight(), ROL::growthRule1D(), and ROL::Quadrature< Real >::normalize().
ROL::Quadrature< Real >::Quadrature | ( | int | dimension, |
int | maxNumPoints, | ||
std::vector< EROLBurkardt > | rule1D, | ||
std::vector< EROLGrowth > | growth1D, | ||
bool | isNormalized, | ||
bool | useSandia | ||
) |
Definition at line 164 of file ROL_QuadratureTPConstructors.hpp.
References ROL::Quadrature< Real >::addPointAndWeight(), ROL::BURK_CLENSHAWCURTIS, ROL::BURK_FEJER2, ROL::BURK_GENZKEISTER, ROL::BURK_HERMITE, ROL::BURK_LAGUERRE, ROL::BURK_LEGENDRE, ROL::BURK_PATTERSON, ROL::SandiaRules2::clenshaw_curtis_points(), ROL::SandiaRules2::clenshaw_curtis_weights(), ROL::SandiaRules2::fejer2_points(), ROL::SandiaRules2::fejer2_weights(), ROL::GROWTH_DEFAULT, ROL::GROWTH_FULLEXP, ROL::GROWTH_MODEXP, ROL::GROWTH_MODLIN, ROL::GROWTH_SLOWEXP, ROL::GROWTH_SLOWLIN, ROL::GROWTH_SLOWLINODD, ROL::SandiaRules2::hermite_genz_keister_points(), ROL::SandiaRules2::hermite_genz_keister_weights(), ROL::SandiaRules2::hermite_points(), ROL::SandiaRules2::hermite_weights(), ROL::SandiaRules::i4vec_sum(), ROL::SandiaRules2::laguerre_points(), ROL::SandiaRules2::laguerre_weights(), ROL::SandiaRules2::legendre_points(), ROL::SandiaRules2::legendre_weights(), ROL::SandiaRules::level_to_order_exp_cc(), ROL::SandiaRules::level_to_order_exp_f2(), ROL::SandiaRules::level_to_order_exp_gauss(), ROL::SandiaRules::level_to_order_exp_gp(), ROL::SandiaRules::level_to_order_exp_hgk(), ROL::Quadrature< Real >::normalize(), ROL::SandiaRules2::patterson_points(), ROL::SandiaRules2::patterson_weights(), ROL::SandiaRules::r8_epsilon(), ROL::sgmga::sgmga_index(), ROL::SandiaSGMGA::sgmga_index(), ROL::sgmga::sgmga_point(), ROL::SandiaSGMGA::sgmga_point(), ROL::sgmga::sgmga_size(), ROL::SandiaSGMGA::sgmga_size(), ROL::sgmga::sgmga_size_total(), ROL::SandiaSGMGA::sgmga_size_total(), ROL::sgmga::sgmga_unique_index(), ROL::SandiaSGMGA::sgmga_unique_index(), ROL::sgmga::sgmga_weight(), and ROL::SandiaSGMGA::sgmga_weight().
ROL::Quadrature< Real >::Quadrature | ( | const char * | SGinfo, |
const char * | SGdata, | ||
bool | isNormalized | ||
) |
Definition at line 362 of file ROL_QuadratureTPConstructors.hpp.
|
protected |
Definition at line 59 of file ROL_QuadratureDef.hpp.
Referenced by ROL::Quadrature< Real >::Quadrature().
|
virtual |
Definition at line 75 of file ROL_QuadratureDef.hpp.
Referenced by ROL::SparseGridGenerator< Real >::updateSamples().
|
virtual |
Definition at line 65 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod().
|
virtual |
Definition at line 70 of file ROL_QuadratureDef.hpp.
Referenced by ROL::Quadrature< Real >::Quadrature().
|
virtual |
Definition at line 87 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod().
|
virtual |
Definition at line 92 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod(), ROL::Quadrature< Real >::Quadrature(), and ROL::Quadrature< Real >::update().
|
virtual |
Definition at line 97 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod(), ROL::Quadrature< Real >::Quadrature(), and ROL::Quadrature< Real >::update().
|
virtual |
Definition at line 102 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod().
|
virtual |
Definition at line 109 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod().
|
virtual |
Definition at line 114 of file ROL_QuadratureDef.hpp.
Referenced by ROL::kron_prod(), ROL::Quadrature< Real >::Quadrature(), ROL::Quadrature< Real >::update(), and ROL::SparseGridGenerator< Real >::updateSamples().
|
virtual |
Definition at line 119 of file ROL_QuadratureDef.hpp.
|
virtual |
Definition at line 124 of file ROL_QuadratureDef.hpp.
References ROL::Quadrature< Real >::begin(), ROL::Quadrature< Real >::end(), and ROL::Quadrature< Real >::getWeight().
Referenced by ROL::SparseGridGenerator< Real >::buildDiffRule().
|
virtual |
Definition at line 149 of file ROL_QuadratureDef.hpp.
Referenced by ROL::Quadrature< Real >::Quadrature().
|
private |
Definition at line 74 of file ROL_Quadrature.hpp.
Referenced by ROL::Quadrature< Real >::Quadrature().
|
private |
Definition at line 75 of file ROL_Quadrature.hpp.
Referenced by ROL::Quadrature< Real >::Quadrature().
|
private |
Definition at line 76 of file ROL_Quadrature.hpp.
Referenced by ROL::Quadrature< Real >::Quadrature().
|
private |
Definition at line 77 of file ROL_Quadrature.hpp.