Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
A growth rule that always makes the supplied order even. More...
#include <Stokhos_GrowthRules.hpp>
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... | |
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 108 of file Stokhos_GrowthRules.hpp.
|
inline |
Constructor.
Definition at line 111 of file Stokhos_GrowthRules.hpp.
|
inlinevirtual |
Destructor.
Definition at line 114 of file Stokhos_GrowthRules.hpp.
|
inlinevirtual |
Evaluate growth rule.
Implements Stokhos::GrowthRule< value_type >.
Definition at line 117 of file Stokhos_GrowthRules.hpp.