Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
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]

Public Member Functions

 EvenGrowthRule ()
 Constructor. More...
 
virtual ~EvenGrowthRule ()
 Destructor. More...
 
virtual value_type operator() (const value_type &x) const
 Evaluate growth rule. More...
 
- Public Member Functions inherited from Stokhos::GrowthRule< value_type >
 GrowthRule ()
 Constructor. More...
 
virtual ~GrowthRule ()
 Destructor. More...
 

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.

Definition at line 76 of file Stokhos_GrowthRules.hpp.

Constructor & Destructor Documentation

template<typename value_type >
Stokhos::EvenGrowthRule< value_type >::EvenGrowthRule ( )
inline

Constructor.

Definition at line 79 of file Stokhos_GrowthRules.hpp.

template<typename value_type >
virtual Stokhos::EvenGrowthRule< value_type >::~EvenGrowthRule ( )
inlinevirtual

Destructor.

Definition at line 82 of file Stokhos_GrowthRules.hpp.

Member Function Documentation

template<typename value_type >
virtual value_type Stokhos::EvenGrowthRule< value_type >::operator() ( const value_type &  x) const
inlinevirtual

Evaluate growth rule.

Implements Stokhos::GrowthRule< value_type >.

Definition at line 85 of file Stokhos_GrowthRules.hpp.


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