Stokhos Development
Namespaces | Classes | Functions
Stokhos Namespace Reference

Top-level namespace for Stokhos classes and functions. More...

Namespaces

namespace  KL
 

Namespace for analytic KL expansions.


Classes

class  AlgebraicOrthogPolyExpansion
 Orthogonal polynomial expansions limited to algebraic operations. More...
class  AnisoSparseGridQuadrature
 Defines quadrature for a tensor product basis by anisotropic Smolyak sparse grids. More...
class  BasisFactory
 Factory for building multivariate orthogonal polynomial bases. More...
class  ClenshawCurtisLegendreBasis
 Legendre polynomial basis using Clenshaw-Curtis quadrature points. More...
class  CompletePolynomialBasis
 Multivariate orthogonal polynomial basis generated from a total-order complete-polynomial tensor product of univariate polynomials. More...
class  ConstantOrthogPolyExpansion
 Orthogonal polynomial expansion class for constant (size 1) expansions. More...
class  Dense3Tensor
 Data structure storing a dense 3-tensor C(i,j,k). More...
class  DerivBasis
 Abstract base class for multivariate orthogonal polynomials that support computing double and triple products involving derivatives of the basis polynomials. More...
class  DerivOrthogPolyExpansion
 Othogonal polynomial expansions based on derivative calculations. More...
class  DiscretizedStieltjesBasis
 Generates three-term recurrence using the Discretized Stieltjes procedure. More...
struct  IsScalarType
 Base template specification for IsScalarType. More...
struct  IsScalarType< float >
struct  IsScalarType< double >
struct  IsScalarType< int >
struct  IsScalarType< long >
struct  ds_array
 Dynamic array allocation class that works for any type. More...
struct  ds_array< T, true >
 Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...). More...
class  EpetraMultiVectorOperator
 An adaptor that supplies the operator interface to a multi-vector. More...
class  EpetraMultiVectorOrthogPoly
 A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor. More...
class  EpetraVectorOrthogPoly
 A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor. More...
class  ExpansionFactory
 Factory for building multivariate expansion strategies. More...
class  ForUQTKOrthogPolyExpansion
class  GramSchmidtBasis
 Transforms a non-orthogonal multivariate basis to an orthogonal one using the Gram-Schmit procedure. More...
class  HermiteBasis
 Hermite polynomial basis. More...
class  IfpackPreconditionerFactory
 A factory for building Ifpack preconditioners. More...
class  JacobiBasis
 Jacobi polynomial basis. More...
class  KLMatrixFreeEpetraOp
 An Epetra operator representing the block stochastic Galerkin operator. More...
class  KLReducedMatrixFreeEpetraOp
 An Epetra operator representing the block stochastic Galerkin operator. More...
class  LegendreBasis
 Legendre polynomial basis. More...
class  MatrixFreeEpetraOp
 An Epetra operator representing the block stochastic Galerkin operator. More...
class  MeanEpetraOp
 An Epetra operator representing applying the mean in a block stochastic Galerkin expansion. More...
class  MLPreconditionerFactory
 A factory for building ML preconditioners. More...
class  OneDOrthogPolyBasis
 Abstract base class for 1-D orthogonal polynomials. More...
class  OrthogPolyApprox
 Class to store coefficients of a projection onto an orthogonal polynomial basis. More...
class  OrthogPolyBasis
 Abstract base class for multivariate orthogonal polynomials. More...
class  OrthogPolyExpansion
 Abstract base class for orthogonal polynomial-based expansions. More...
class  PCECovarianceOp
 An Epetra operator representing the covariance operator of a polynomial chaos expansion. More...
class  PecosOneDOrthogPolyBasis
 Implementation of OneDOrthogPolyBasis via Pecos. More...
class  PreconditionerFactory
 An abstract class to represent a generic preconditioner factory. More...
class  ProductBasis
 Abstract base class for multivariate orthogonal polynomials generated from tensor products of univariate polynomials. More...
class  QuadOrthogPolyExpansion
 Orthogonal polynomial expansions based on numerical quadrature. More...
class  Quadrature
 Abstract base class for quadrature methods. More...
class  QuadratureFactory
 Factory for building multivariate quadrature strategies. More...
class  RecurrenceBasis
 Implementation of OneDOrthogPolyBasis based on the general three-term recurrence relationship:

\[ \psi_{k+1}(x) = \gamma_{k+1}\big( (\alpha_k - \delta_k x)\psi_k(x) - \beta_k\psi_{k-1}(x) \big) \]

for $k=0,\dots,P$ where $\psi_{-1}(x) = 0$, $\psi_{0}(x) = 1$, and $\beta_{0} = 1$. More...

class  RysBasis
 Rys polynomial basis. More...
class  SGInverseModelEvaluator
 Nonlinear, inverse stochastic Galerkin ModelEvaluator. More...
class  SGModelEvaluator
 Nonlinear, stochastic Galerkin ModelEvaluator. More...
class  SGQuadModelEvaluator
 ModelEvaluator adaptor that implements the stochastic Galerkin residual and Jacobian computations using quadrature. More...
class  Sparse3Tensor
 Data structure storing a sparse 3-tensor C(i,j,k) in a a compressed format. More...
class  SparseGridQuadrature
 Defines quadrature for a tensor product basis by Smolyak sparse grids. More...
class  StieltjesGramSchmidtBuilder
 Class for building a reduced-dimension basis and quadrature from a given set of polynomial chaos expansions. First generates 1-D orthogonal bases using the discretized Stieltjes procedure, forms their tensor product, and then orthogonalizes using Gram-Schmidt. More...
class  StieltjesPCEBasis
 Generates three-term recurrence using the Discretized Stieltjes procedure applied to a polynomial chaos expansion in another basis. More...
class  TensorProductQuadrature
 Defines quadrature for a tensor product basis by tensor products of 1-D quadrature rules. More...
class  UserDefinedQuadrature
class  VectorOrthogPolyTraits
 Base traits definition for VectorOthogPoly. More...
class  VectorOrthogPoly
 A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor. More...
class  EpetraVectorCloner
 Cloner for Epetra_Vector coefficients. More...
class  EpetraMultiVectorCloner
 Cloner for Epetra_MultiVector coefficients. More...
class  EpetraOperatorCloner
 Cloner for Epetra_Operator coefficients. More...
class  EpetraCrsMatrixCloner
 Cloner for Epetra_CrsMatrix coefficients. More...
class  VectorOrthogPolyTraits< Epetra_Vector >
 Specialization of VectorOrthogPolyTraits to Epetra_Vector coefficients. More...
class  VectorOrthogPolyTraits< Epetra_MultiVector >
 Specialization of VectorOrthogPolyTraits to Epetra_MultiVector coefficients. More...
class  VectorOrthogPolyTraits< Epetra_CrsMatrix >
 Specialization of VectorOrthogPolyTraits to Epetra_CrsMatrix coefficients. More...
class  VectorOrthogPolyTraits< Epetra_Operator >
 Specialization of VectorOrthogPolyTraits to Epetra_Operator coefficients. More...

Functions

template<typename ordinal_type , typename value_type >
std::ostream & operator<< (std::ostream &os, const Dense3Tensor< ordinal_type, value_type > &Cijk)
template<typename ordinal_type , typename value_type >
std::ostream & operator<< (std::ostream &os, const OneDOrthogPolyBasis< ordinal_type, value_type > &b)
 Print basis to stream os.
template<typename ordinal_type , typename value_type >
std::ostream & operator<< (std::ostream &os, const OrthogPolyApprox< ordinal_type, value_type > &a)
 Prints the array of coefficients (more compact than print())
template<typename ordinal_type , typename value_type >
std::ostream & operator<< (std::ostream &os, const OrthogPolyBasis< ordinal_type, value_type > &b)
 Print basis to stream os.
template<typename ordinal_type , typename value_type >
std::ostream & operator<< (std::ostream &os, const Quadrature< ordinal_type, value_type > &quad)
 Print quadrature object to stream.
template<typename ordinal_type , typename value_type >
std::ostream & operator<< (std::ostream &os, const Sparse3Tensor< ordinal_type, value_type > &Cijk)
template<typename ordinal_type , typename value_type >
Teuchos::RCP< Epetra_CrsGraph > sparse3Tensor2CrsGraph (const Stokhos::OrthogPolyBasis< ordinal_type, value_type > &basis, const Stokhos::Sparse3Tensor< ordinal_type, value_type > &Cijk, const Epetra_Comm &comm)
 Build an Epetra_CrsGraph from a sparse 3 tensor.
template<typename ordinal_type , typename value_type >
void sparse3Tensor2MatrixMarket (const Stokhos::OrthogPolyBasis< ordinal_type, value_type > &basis, const Stokhos::Sparse3Tensor< ordinal_type, value_type > &Cijk, const Epetra_Comm &comm, const std::string &file)
template<typename coeff_type >
std::ostream & operator<< (std::ostream &os, const VectorOrthogPoly< coeff_type > &vec)

Detailed Description

Top-level namespace for Stokhos classes and functions.


Function Documentation

template<typename ordinal_type , typename value_type >
Teuchos::RCP<Epetra_CrsGraph> Stokhos::sparse3Tensor2CrsGraph ( const Stokhos::OrthogPolyBasis< ordinal_type, value_type > &  basis,
const Stokhos::Sparse3Tensor< ordinal_type, value_type > &  Cijk,
const Epetra_Comm &  comm 
)

Build an Epetra_CrsGraph from a sparse 3 tensor.

Builds a sparse graph from a sparse 3 tensor by summing over the third index. This graph then represents the sparsity pattern of the stochastic part of the block stochastic Galerkin operator. Redistributing the graph should then provide a suitable parallel distribution for block stochastic Galerkin linear solves.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator