Doxygen 1.9.1
Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN: Tasmanian v8.2 (development)
TasGrid::OneDimensionalMeta Namespace Reference

Metadata for one dimensional rules, number of points, exactness, I/O, etc. More...

Functions

int getNumPoints (int level, TypeOneDRule rule)
 Return the number of points for the rule at the level, includes all global rules.
 
int getIExact (int level, TypeOneDRule rule)
 Return the exactness of the interpolation rule at the level, includes all global rules.
 
int getQExact (int level, TypeOneDRule rule)
 Return the exactness of the integration/quadrature rule at the level, includes all global rules.
 
bool isNonNested (TypeOneDRule rule)
 Return True if the rule does not have nested nodes, e.g., gauss-legendre.
 
bool isSequence (TypeOneDRule rule)
 Return True if the rule is nested and has single-node growth, fit for GridSequence, e.g., leja.
 
bool isGlobal (TypeOneDRule rule)
 Return True if the rule has basis with Lagrange polynomials with global support, fit for GridGlobal, e.g., clenshaw-curtis.
 
bool isSingleNodeGrowth (TypeOneDRule rule)
 Return True if the rule grows by one point per level.
 
bool isLocalPolynomial (TypeOneDRule rule)
 Return True if the rule has polynomial basis with local support, fit for GridLocalPolynomial, e.g., localp.
 
bool isWavelet (TypeOneDRule rule)
 Return True if the rule has wavelet basis with local support.
 
bool isFourier (TypeOneDRule rule)
 Return True if the rule has trigonometric basis.
 
const char * getHumanString (TypeOneDRule rule)
 Map the enumerate to a human readable string, used in printStats().
 
TypeDepth getControurType (TypeDepth type)
 Identifies the general contour, linear type_level, log-corrected type_curved, or hyperbolic type_hyperbolic. More...
 
bool isExactLevel (TypeDepth type)
 Returns true if the type indicates exactness with respect to raw levels.
 
bool isExactInterpolation (TypeDepth type)
 Returns true if the type indicates exactness with respect to interpolation.
 
bool isExactQuadrature (TypeDepth type)
 Returns true if the type indicates exactness with respect to integration.
 
TypeDepth getSelectionType (TypeDepth type)
 Identifies the selection type, level type_level, interpolation type_iptotal, or quadrature type_qptotal. More...
 
bool isTypeCurved (TypeDepth type)
 Return True if the multi-index selection type has log-correction term (need to use floating point indexing).
 

Detailed Description

Metadata for one dimensional rules, number of points, exactness, I/O, etc.

Function Documentation

◆ getControurType()

TypeDepth TasGrid::OneDimensionalMeta::getControurType ( TypeDepth  type)
inline

Identifies the general contour, linear type_level, log-corrected type_curved, or hyperbolic type_hyperbolic.

The types of index selection are divided into contour type and selection type. All types are combination between the two, i.e., type_iptotal uses interpolation polynomial selection and linear contour. This function reduces the type to one of the three level contours, which simplifies the if-statements in many places. Note: the tensor rules are a special case and are not considered in this function.

◆ getSelectionType()

TypeDepth TasGrid::OneDimensionalMeta::getSelectionType ( TypeDepth  type)
inline

Identifies the selection type, level type_level, interpolation type_iptotal, or quadrature type_qptotal.

Similar to getControurType(), return what selection is considered, simple levels or interpolation/quadrature polynomial space.