Doxygen 1.17.0
Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN: Tasmanian v8.3
Loading...
Searching...
No Matches
TasGrid::AnsitropicWeights Struct Reference

Strong type for the vector of integers representing the anisotropic weighs. More...

#include <TasmanianSparseGrid.hpp>

Public Member Functions

 AnsitropicWeights ()=default
 Creates a vector of no weights, results in isotropic grid.
 AnsitropicWeights (IsotropicWeights)
 Creates a vector of no weights, results in isotropic grid.
 AnsitropicWeights (std::initializer_list< int > list)
 Create weights from an initializer list.
 AnsitropicWeights (std::vector< int > const &w)
 Creates weighs from a vector.

Public Attributes

std::vector< int > weights
 The created weights.

Detailed Description

Strong type for the vector of integers representing the anisotropic weighs.

Example usage:

std::vector<int> w = {2, 3};
AnsitropicWeights{w} // also accepts AnsitropicWeights{2, 3}
);
@ rule_clenshawcurtis
Classic nested rule using Chebyshev nodes with very low Lebesgue constant.
Definition tsgEnumerates.hpp:292
@ type_level
Ignoring the polynomial space, use rules with index .
Definition tsgEnumerates.hpp:212
NumDimensions
Strong type for the number of dimensions.
Definition TasmanianSparseGrid.hpp:2450
DepthLevel
Strong type for the depth (e.g., level/polynomial-order) of the grid.
Definition TasmanianSparseGrid.hpp:2462
NumOutputs
Strong type for the number of outputs.
Definition TasmanianSparseGrid.hpp:2456
TasmanianSparseGrid makeGlobalGrid(int dimensions, int outputs, int depth, TypeDepth type, TypeOneDRule rule, std::vector< int > const &anisotropic_weights=std::vector< int >(), double alpha=0.0, double beta=0.0, const char *custom_filename=nullptr, std::vector< int > const &level_limits=std::vector< int >())
Factory method, creates a new grid and calls TasmanianSparseGrid::makeGlobalGrid().
Definition TasmanianSparseGrid.hpp:2333
AnsitropicWeights()=default
Creates a vector of no weights, results in isotropic grid.

The documentation for this struct was generated from the following file: