Stokhos Development
Public Member Functions
Stokhos::EvenGrowthRule< value_type > Class Template Reference

A growth rule that always makes the supplied order even. More...

#include <Stokhos_GrowthRules.hpp>

Inheritance diagram for Stokhos::EvenGrowthRule< value_type >:
Inheritance graph
[legend]
Collaboration diagram for Stokhos::EvenGrowthRule< value_type >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EvenGrowthRule ()
 Constructor.
virtual ~EvenGrowthRule ()
 Destructor.
virtual value_type operator() (const value_type &x) const
 Evaluate growth rule.

Detailed Description

template<typename value_type>
class Stokhos::EvenGrowthRule< value_type >

A growth rule that always makes the supplied order even.

When used in conjunction with Gaussian quadrature that generates n+1 points for a quadrature of order n, this always results in an odd number of points, and thus includes 0. This allows some nesting in Gaussian-based sparse grids.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator