Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
An operator for building pseudo-spectral coefficients using an arbitrary quadrature rule. More...
#include <Stokhos_QuadraturePseudoSpectralOperator.hpp>
Public Member Functions | |
QuadraturePseudoSpectralOperator (const OrthogPolyBasis< ordinal_type, value_type > &basis, const Quadrature< ordinal_type, value_type > &quad, const point_compare_type &point_compare=point_compare_type()) | |
Constructor. More... | |
virtual | ~QuadraturePseudoSpectralOperator () |
Destructor. More... | |
ordinal_type | point_size () const |
Number of points. More... | |
ordinal_type | coeff_size () const |
Number of coefficients. More... | |
iterator | begin () |
Iterator to begining of point set. More... | |
iterator | end () |
Iterator to end of point set. More... | |
const_iterator | begin () const |
Iterator to begining of point set. More... | |
const_iterator | end () const |
Iterator to end of point set. More... | |
set_iterator | set_begin () |
Iterator to begining of point set. More... | |
set_iterator | set_end () |
Iterator to end of point set. More... | |
const_set_iterator | set_begin () const |
Iterator to begining of point set. More... | |
const_set_iterator | set_end () const |
Iterator to end of point set. More... | |
ordinal_type | index (const point_type &point) const |
Get point index for given point. More... | |
const point_type & | point (ordinal_type n) const |
Get point for given index. More... | |
virtual void | transformQP2PCE (const value_type &alpha, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &input, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &result, const value_type &beta, bool trans=false) const |
Transform values at quadrature points to PCE coefficients. More... | |
virtual void | transformPCE2QP (const value_type &alpha, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &input, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &result, const value_type &beta, bool trans=false) const |
Transform PCE coefficients to quadrature values. More... | |
Public Member Functions inherited from Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type > | |
PseudoSpectralOperator () | |
Constructor. More... | |
virtual | ~PseudoSpectralOperator () |
Destructor. More... | |
Protected Attributes | |
ordinal_type | coeff_sz |
Number of coefficients. More... | |
point_set_type | points |
Quadrature points. More... | |
point_map_type | point_map |
Map index to point term. More... | |
Teuchos::SerialDenseMatrix < ordinal_type, value_type > | qp2pce |
Matrix mapping points to coefficients. More... | |
Teuchos::SerialDenseMatrix < ordinal_type, value_type > | pce2qp |
Matrix mapping coefficients to points. More... | |
Teuchos::BLAS< ordinal_type, value_type > | blas |
BLAS wrappers. More... | |
An operator for building pseudo-spectral coefficients using an arbitrary quadrature rule.
Definition at line 28 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef ordinal_t Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::ordinal_type |
Definition at line 32 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef value_t Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::value_type |
Definition at line 33 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef PseudoSpectralOperator<ordinal_type,value_type,point_compare_type> Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::base_type |
Definition at line 34 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::point_type Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::point_type |
Definition at line 35 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::point_set_type Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::point_set_type |
Definition at line 36 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::point_map_type Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::point_map_type |
Definition at line 37 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::iterator Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::iterator |
Definition at line 38 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::const_iterator Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::const_iterator |
Definition at line 39 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::set_iterator Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::set_iterator |
Definition at line 40 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef base_type::const_set_iterator Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::const_set_iterator |
Definition at line 41 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
typedef MultiIndex<ordinal_type> Stokhos::QuadraturePseudoSpectralOperator< ordinal_t, value_t, point_compare_type >::multiindex_type |
Definition at line 43 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inline |
Constructor.
Definition at line 46 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Destructor.
Definition at line 105 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Number of points.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 108 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Number of coefficients.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 111 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to begining of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 114 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to end of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 117 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to begining of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 120 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to end of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 123 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to begining of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 126 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to end of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 129 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to begining of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 132 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Iterator to end of point set.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 135 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Get point index for given point.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 138 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Get point for given index.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 146 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Transform values at quadrature points to PCE coefficients.
input
is a vector storing values of a function at the quadrature points, and result
will contain the resulting polynomial chaos coefficients. input
and result
can have multiple columns for vector-valued functions and set trans
to true if these (multi-) vectors are layed out in a transposed fashion.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 156 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
inlinevirtual |
Transform PCE coefficients to quadrature values.
input
is a vector storing polynomial chaos coefficients and result
will contain the resulting values at the quadrature points. input
and result
can have multiple columns for vector-valued functions and set trans
to true if these (multi-) vectors are layed out in a transposed fashion.
Implements Stokhos::PseudoSpectralOperator< ordinal_t, value_t, point_compare_type >.
Definition at line 180 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
protected |
Number of coefficients.
Definition at line 209 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
protected |
Quadrature points.
Definition at line 212 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
protected |
Map index to point term.
Definition at line 215 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
protected |
Matrix mapping points to coefficients.
Definition at line 218 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
protected |
Matrix mapping coefficients to points.
Definition at line 221 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.
|
protected |
BLAS wrappers.
Definition at line 224 of file Stokhos_QuadraturePseudoSpectralOperator.hpp.