ROL
|
#include <ROL_SGMGA.hpp>
Public Member Functions | |
sgmga (void) | |
double * | sgmga_aniso_balance (double alpha_max, int dim_num, double level_weight[]) |
void | sgmga_aniso_normalize (int option, int dim_num, double level_weight[]) |
void | sgmga_importance_to_aniso (int dim_num, double importance[], double level_weight[]) |
void | sgmga_index (int dim_num, double level_weight[], int level_max, int rule[], int point_num, int point_total_num, int sparse_unique_index[], int growth[], int sparse_order[], int sparse_index[]) |
void | sgmga_point (int dim_num, double level_weight[], int level_max, int rule[], int np[], double p[], void(*gw_compute_points[])(int order, int np, double p[], double x[]), int point_num, int sparse_order[], int sparse_index[], int growth[], double sparse_point[]) |
void | sgmga_product_weight (int dim_num, int order_1d[], int order_nd, int rule[], int np[], double p[], void(*gw_compute_weights[])(int order, int np, double p[], double w[]), double weight_nd[]) |
int | sgmga_size (int dim_num, double level_weight[], int level_max, int rule[], int np[], double p[], void(*gw_compute_points[])(int order, int np, double p[], double x[]), double tol, int growth[]) |
int | sgmga_size_total (int dim_num, double level_weight[], int level_max, int rule[], int growth[]) |
void | sgmga_unique_index (int dim_num, double level_weight[], int level_max, int rule[], int np[], double p[], void(*gw_compute_points[])(int order, int np, double p[], double x[]), double tol, int point_num, int point_total_num, int growth[], int sparse_unique_index[]) |
void | sgmga_vcn (int n, double level_weight[], int x[], double q_min, double q_max, bool *more) |
double | sgmga_vcn_coef (int n, double level_weight[], int x[], double q_max) |
double | sgmga_vcn_coef_naive (int n, double level_weight[], int x_max[], int x[], double q_min, double q_max) |
void | sgmga_vcn_naive (int n, double level_weight[], int x_max[], int x[], double q_min, double q_max, bool *more) |
void | sgmga_vcn_ordered (int dim_num, double level_weight[], int x_max[], int x[], double q_min, double q_max, bool *more) |
void | sgmga_vcn_ordered_naive (int dim_num, double level_weight[], int x_max[], int x[], double q_min, double q_max, bool *more) |
void | sgmga_weight (int dim_num, double level_weight[], int level_max, int rule[], int np[], double p[], void(*gw_compute_weights[])(int order, int np, double p[], double w[]), int point_num, int point_total_num, int sparse_unique_index[], int growth[], double sparse_weight[]) |
void | sgmga_write (int dim_num, double level_weight[], int rule[], int np[], double p[], int point_num, double sparse_weight[], double sparse_point[], std::string file_name) |
Private Attributes | |
Teuchos::RCP< SandiaRules > | webbur |
Definition at line 59 of file ROL_SGMGA.hpp.
|
inline |
Definition at line 65 of file ROL_SGMGA.hpp.
References webbur.
double * ROL::sgmga::sgmga_aniso_balance | ( | double | alpha_max, |
int | dim_num, | ||
double | level_weight[] | ||
) |
Definition at line 48 of file ROL_SGMGADef.hpp.
References webbur.
void ROL::sgmga::sgmga_aniso_normalize | ( | int | option, |
int | dim_num, | ||
double | level_weight[] | ||
) |
Definition at line 180 of file ROL_SGMGADef.hpp.
References webbur.
void ROL::sgmga::sgmga_importance_to_aniso | ( | int | dim_num, |
double | importance[], | ||
double | level_weight[] | ||
) |
Definition at line 316 of file ROL_SGMGADef.hpp.
void ROL::sgmga::sgmga_index | ( | int | dim_num, |
double | level_weight[], | ||
int | level_max, | ||
int | rule[], | ||
int | point_num, | ||
int | point_total_num, | ||
int | sparse_unique_index[], | ||
int | growth[], | ||
int | sparse_order[], | ||
int | sparse_index[] | ||
) |
Definition at line 436 of file ROL_SGMGADef.hpp.
References sgmga_vcn_coef(), sgmga_vcn_ordered(), and webbur.
Referenced by ROL::Quadrature< Real >::Quadrature().
void ROL::sgmga::sgmga_point | ( | int | dim_num, |
double | level_weight[], | ||
int | level_max, | ||
int | rule[], | ||
int | np[], | ||
double | p[], | ||
void(*[])(int order, int np, double p[], double x[]) | gw_compute_points, | ||
int | point_num, | ||
int | sparse_order[], | ||
int | sparse_index[], | ||
int | growth[], | ||
double | sparse_point[] | ||
) |
Definition at line 683 of file ROL_SGMGADef.hpp.
References webbur.
Referenced by ROL::Quadrature< Real >::Quadrature().
void ROL::sgmga::sgmga_product_weight | ( | int | dim_num, |
int | order_1d[], | ||
int | order_nd, | ||
int | rule[], | ||
int | np[], | ||
double | p[], | ||
void(*[])(int order, int np, double p[], double w[]) | gw_compute_weights, | ||
double | weight_nd[] | ||
) |
int ROL::sgmga::sgmga_size | ( | int | dim_num, |
double | level_weight[], | ||
int | level_max, | ||
int | rule[], | ||
int | np[], | ||
double | p[], | ||
void(*[])(int order, int np, double p[], double x[]) | gw_compute_points, | ||
double | tol, | ||
int | growth[] | ||
) |
Definition at line 1135 of file ROL_SGMGADef.hpp.
References sgmga_size_total(), sgmga_vcn_coef(), sgmga_vcn_ordered(), and webbur.
Referenced by ROL::Quadrature< Real >::Quadrature().
int ROL::sgmga::sgmga_size_total | ( | int | dim_num, |
double | level_weight[], | ||
int | level_max, | ||
int | rule[], | ||
int | growth[] | ||
) |
Definition at line 1514 of file ROL_SGMGADef.hpp.
References sgmga_vcn_coef(), sgmga_vcn_ordered(), and webbur.
Referenced by ROL::Quadrature< Real >::Quadrature(), and sgmga_size().
void ROL::sgmga::sgmga_unique_index | ( | int | dim_num, |
double | level_weight[], | ||
int | level_max, | ||
int | rule[], | ||
int | np[], | ||
double | p[], | ||
void(*[])(int order, int np, double p[], double x[]) | gw_compute_points, | ||
double | tol, | ||
int | point_num, | ||
int | point_total_num, | ||
int | growth[], | ||
int | sparse_unique_index[] | ||
) |
Definition at line 1709 of file ROL_SGMGADef.hpp.
References sgmga_vcn_coef(), sgmga_vcn_ordered(), and webbur.
Referenced by ROL::Quadrature< Real >::Quadrature().
void ROL::sgmga::sgmga_vcn | ( | int | n, |
double | level_weight[], | ||
int | x[], | ||
double | q_min, | ||
double | q_max, | ||
bool * | more | ||
) |
Definition at line 2120 of file ROL_SGMGADef.hpp.
References webbur.
Referenced by sgmga_vcn_ordered().
double ROL::sgmga::sgmga_vcn_coef | ( | int | n, |
double | level_weight[], | ||
int | x[], | ||
double | q_max | ||
) |
Definition at line 2427 of file ROL_SGMGADef.hpp.
Referenced by sgmga_index(), sgmga_size(), sgmga_size_total(), sgmga_unique_index(), and sgmga_weight().
double ROL::sgmga::sgmga_vcn_coef_naive | ( | int | n, |
double | level_weight[], | ||
int | x_max[], | ||
int | x[], | ||
double | q_min, | ||
double | q_max | ||
) |
Definition at line 2673 of file ROL_SGMGADef.hpp.
References webbur.
void ROL::sgmga::sgmga_vcn_naive | ( | int | n, |
double | level_weight[], | ||
int | x_max[], | ||
int | x[], | ||
double | q_min, | ||
double | q_max, | ||
bool * | more | ||
) |
Definition at line 2822 of file ROL_SGMGADef.hpp.
Referenced by sgmga_vcn_ordered_naive().
void ROL::sgmga::sgmga_vcn_ordered | ( | int | dim_num, |
double | level_weight[], | ||
int | x_max[], | ||
int | x[], | ||
double | q_min, | ||
double | q_max, | ||
bool * | more | ||
) |
Definition at line 3013 of file ROL_SGMGADef.hpp.
References sgmga_vcn(), and webbur.
Referenced by sgmga_index(), sgmga_size(), sgmga_size_total(), sgmga_unique_index(), and sgmga_weight().
void ROL::sgmga::sgmga_vcn_ordered_naive | ( | int | dim_num, |
double | level_weight[], | ||
int | x_max[], | ||
int | x[], | ||
double | q_min, | ||
double | q_max, | ||
bool * | more | ||
) |
Definition at line 3191 of file ROL_SGMGADef.hpp.
References sgmga_vcn_naive(), and webbur.
void ROL::sgmga::sgmga_weight | ( | int | dim_num, |
double | level_weight[], | ||
int | level_max, | ||
int | rule[], | ||
int | np[], | ||
double | p[], | ||
void(*[])(int order, int np, double p[], double w[]) | gw_compute_weights, | ||
int | point_num, | ||
int | point_total_num, | ||
int | sparse_unique_index[], | ||
int | growth[], | ||
double | sparse_weight[] | ||
) |
Definition at line 3370 of file ROL_SGMGADef.hpp.
References sgmga_product_weight(), sgmga_vcn_coef(), sgmga_vcn_ordered(), and webbur.
Referenced by ROL::Quadrature< Real >::Quadrature().
void ROL::sgmga::sgmga_write | ( | int | dim_num, |
double | level_weight[], | ||
int | rule[], | ||
int | np[], | ||
double | p[], | ||
int | point_num, | ||
double | sparse_weight[], | ||
double | sparse_point[], | ||
std::string | file_name | ||
) |
Definition at line 3595 of file ROL_SGMGADef.hpp.
References webbur.
|
private |
Definition at line 61 of file ROL_SGMGA.hpp.
Referenced by sgmga(), sgmga_aniso_balance(), sgmga_aniso_normalize(), sgmga_index(), sgmga_point(), sgmga_product_weight(), sgmga_size(), sgmga_size_total(), sgmga_unique_index(), sgmga_vcn(), sgmga_vcn_coef_naive(), sgmga_vcn_ordered(), sgmga_vcn_ordered_naive(), sgmga_weight(), and sgmga_write().